InsertComponent2_0
This command is used to insert a representation from a 2.0 component.
Note:
This command is not an oDesktop command, but it has been included here because it is tightly associated with the CreateComponent2_0 command, which is an oDesktop command.
| UI Access | Right click on a design in the Project Manager tree and select Insert Component 2.0 | ||||||||||||
| Parameters |
|
||||||||||||
| Return Value |
Boolean: True if placed; False if not placed. |
| Python Syntax | InsertComponent2_0(<FileName>, <RepresentationName>,<RepresentationId>) |
| Python Example |
oDesign = oProject.SetActiveDesign("HFSSDesign1") oDesign.InsertComponent2_0( "D:/Designs/insCmdsAllDesigns.acmp2", "Filter1", -1) |