Create3DComponent
Creates a 3D component.
| UI Access | Draw > 3D Component Library > Create 3D Component. | |||||||||||||||
| Parameters |
|
|||||||||||||||
| Return Value | None. |
| Python Syntax |
Create3DComponent(<CreateData>, <DesignData>, <FileName>, <ImageFile>) |
| Python Example |
|
Example with an External Circuit:
oDesign = oProject.SetActiveDesign("Maxwell3DDesign1")
oEditor = oDesign.SetActiveEditor("3D Modeler")
oEditor.Create3DComponent(
[
"NAME:CreateData",
"ComponentName:=" , "Maxwell3DDesign1",
"Company:=" , "",
"Company URL:=" , "",
"Model Number:=" , "",
"Help URL:=" , "",
"Version:=" , "1.0",
"Notes:=" , "",
"IconType:=" , "",
"Owner:=" , "",
"Email:=" , "",
"Date:=" , "3:36:11 PM Feb 14, 2025",
"HasLabel:=" , False,
"IsEncrypted:=" , False,
"AllowEdit:=" , False,
"SecurityMessage:=" , "",
"Password:=" , "",
"EditPassword:=" , "",
"PasswordType:=" , "UnknownPassword",
"HideContents:=" , True,
"ReplaceNames:=" , True,
"ComponentOutline:=" , "None",
"IncludedParts:=" , ["Box1"],
"HiddenParts:=" , [],
"IncludedCS:=" , [],
"DefaultHandle:=" , "Global",
"IncludedParameters:=" , [],
"IncludedDependentParameters:=", [],
"ParameterDescription:=", [],
"IsLicensed:=" , False,
"LicensingDllName:=" , "",
"VendorComponentIdentifier:=", "",
"PublicKeyFile:=" , ""
],
[
"NAME:DesignData",
"Excitations:=" , ["CoilTerminal1","CoilTerminal2","Winding1","External Circuit”]
],
"F:/Designs/ComponentExternalCircuit/test.a3dcomp",
[
"NAME:ImageFile",
"ImageFile:=" , ""
])