c# - Create equipment in Autocad Plant 3d -


i want create equipment predefined shape in autocad plant 3d. retrieve shape , related parameters attached code.

            using (equipmenthelper eqhelper = new equipmenthelper())             {                                     promptentityresult res = ed.getentity("\nselect equipment entity: ");                 objectid eqid = res.objectid;;                 equipmenttype eq = eqhelper.retrieveequipmentfrominstance(eqid);                 foreach (categoryinfo equipmentcomponent in eq.categories)                 {                                   ed.writemessage("\n" + equipmentcomponent.displayname);                     foreach (parameterinfo item in equipmentcomponent.parameters)                     {                         ed.writemessage("\n\t" + item.name + ";" + item.value);                     }                                         }              } 

you'll need custom python script this, check tutorial: custom python scripts autocad plant 3d – part 1 (and follow subsequent parts)


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -