Cable Modeling Commands
Cable Modeling is a Beta Feature to 3D Component Modeling for Release 21.2. Cables are created and edited as design objects using the Cable Seutp module, and then inserted as native components. For example, elements of a cable are created:
oModule = oDesign.GetModule("CableSetup")
oModule.CreateStraightWireCable(....
And then, when a Harness has been created from various components, it is inserted to the Modeler:
oEditor = oDesign.SetActiveEditor("3D Modeler")
oEditor.InsertNativeComponent(
[
"NAME:InsertNativeComponentData",
"TargetCS:=" , "Global",
"SubmodelDefinitionName:=", "MyHarness",
...