public void Update() { foreach (string item in Sub_Div_Strings) { FD_Commander.Excute(item); } }
public void Create_Set() { FD_Commander.Unselect(); create(); set_pro(); FD_Commander.Unselect(); }
public string Output() { FD_Commander.Unselect(); foreach (string id in IDs) { FD_Commander.Select(id); } return(FD_Commander.Excute("plugin ctrlgraplug csv fwd output").ToString()); }
public void Set_Properties() { FD_Commander.Unselect(); foreach (FD_Object item in Members) { item.Select(); } set_pro(); FD_Commander.Unselect(); }
protected void set_pro() { if (Property_string.Count != 0) { foreach (string property_str in Property_string) { FD_Commander.Excute(property_str); } } }
//Methods protected void create() { if (Members.Count != 0) { FD_Commander.Excute("property select " + Object_Type); foreach (FD_Object item in Members) { item.Create(); } } }
//Constructor public FD_Range(double w, double d, double h) : base() { unit = Convert.ToInt32(FD_Commander.Excute("range get unit")); width = w; deepth = d; height = h; offset_x = 0; offset_y = 0; offset_z = 0; }
public FD_Range(double w, double d, double h, double ox, double oy, double oz) : base() { unit = Convert.ToInt32(FD_Commander.Excute("range get unit")); width = w; deepth = d; height = h; offset_x = ox; offset_y = oy; offset_z = oz; }
public FD_Range() : base() { unit = Convert.ToInt32(FD_Commander.Excute("range get unit")); width = Convert.ToDouble(FD_Commander.Excute("range get size x")); deepth = Convert.ToDouble(FD_Commander.Excute("range get size y")); height = Convert.ToDouble(FD_Commander.Excute("range get size z")); offset_x = Convert.ToDouble(FD_Commander.Excute("range get offset x")); offset_y = Convert.ToDouble(FD_Commander.Excute("range get offset y")); offset_z = Convert.ToDouble(FD_Commander.Excute("range get offset z")); }
public List <string> Update() { List <string> results = new List <string>(); if (Update_Strings.Count != 0) { foreach (string upstr in Update_Strings) { results.Add(FD_Commander.Excute(upstr).ToString()); } } return(results); }
public CSV_Target(int _analysistype) : base() { analysistype = _analysistype; object targetgroupcount = FD_Commander.Excute("plugin ctrlgraplug csv get " + Analysis_Type + " targetgroupcount"); groups = new List <CSV_Group>(); for (int i = 0; i < Convert.ToInt32(targetgroupcount); i++) { groups.Add(new CSV_Group(analysistype, i, 0)); } }
//Methods public void Creat_Mesh() { Clear_Meah(); foreach (string item in Creat_string) { FD_Commander.Excute(item); } foreach (FD_Sub_Division sb in Sub_Divisions) { sb.Update(); } if (Add_Model_Edge) { FD_Commander.Excute("mesh modeledge"); } }
public CSV_Group(int _Analysis_Type, int _Index, int _Type) : base() { analysistype = _Analysis_Type; index = _Index; type = _Type; name = (FD_Commander.Excute("plugin ctrlgraplug csv get " + AT_String + " " + GT_String + "groupname " + index.ToString())).ToString(); int itemcount = Convert.ToInt32(FD_Commander.Excute("plugin ctrlgraplug csv get " + AT_String + " " + GT_String + "count " + Index)); for (int i = 0; i < itemcount; i++) { object itemname = FD_Commander.Excute("plugin ctrlgraplug csv get " + AT_String + " " + GT_String + "name " + Index + " " + i.ToString()); Items.Add(new CSV_CB(analysistype, type, index, i, itemname.ToString())); } }
public void Select() { FD_Commander.Select(id); }
public void Create() { FD_Commander.Unselect(); create(); FD_Commander.Unselect(); }
public void Clear_Meah() { FD_Commander.Excute("mesh mode manual"); FD_Commander.Excute("mesh select all"); FD_Commander.Excute("mesh clear"); }
public void Update() { FD_Commander.Excute(Set_string); }
//Methods public void Create() { id = FD_Commander.Excute(Create_string).ToString(); }
public void Delete() { FD_Commander.Excute("obj select " + id); FD_Commander.Excute("obj delete"); }