Edit [component manager]
Modifies an existing component.
| UI Access | Tools > Edit Configured Libraries > Components > Edit Component | ||||||||||||||||||||||||||||||||||||
| Parameters |
|
||||||||||||||||||||||||||||||||||||
| Return Value | The composite name of the component. If the name requested conflicts with the name of an existing component, the requested name is altered to be unique. The name returned reflects any change made to be unique. |
<TypeInfo>:
An integer that is the or-ing of bits for each product listed below. The default setting is 0xffffffff (4294967295), which indicates valid for all products. In the component editing dialog box, checking different boxes in the "Specify products for which this component is valid" grid control sets specific flags that correspond to the following hex/decimal settings:
Nexxim – 100 binary, 4 decimal, 0x4
SIwaveDeNovo – 1000 binary, 8 decimal, 0x8
Simplorer – 10000 binary, 16 decimal, 0x10
MaxwellCircuit – 100000 binary, 32 decimal, 0x20
<ModifiedOnInfo>:
An integer that corresponds to the number of seconds that have elapsed since 00:00 hours, Jan 1, 1970 UTC from the system clock.
<TerminalInfo>:
[<string>, // symbol pin
<string> // footprint pin
<string >, // gate name
<bool>, // shared
<int>, // equivalence number
<int>, // what to do if unconnected: flag as error:0, ignore:1
<string>, // description
<Nature>]
<Nature>:
<string> // content varies as follows
Nexxim/Circuit:
"Electrical" // the only choice
Simplorer:
# choices include "Electrical", "Magnetic", "Fluidic", "Translational",
"Translational_V", "Rotational", "Rotational_V",
""Radiant", "Thermal", or <VHDLPackageName>
<VHDLPackageName>:
<string> # in the form <Library>.<Package>
<Library>:
<string> # name of the VHDL library
<Package>:
<string> # name of the VHDL package
<VariableInfo>:
[<string>, # name
<FlagLetters>,
<string>, # description
"CB:=", <string>, # optional - script for call back
<string>] # value: number, variable, or expression
<FlagLetters>:
<string> # "D" - has description parameter,
# "RD" - readonly & has description parameter,
# or "RHD" - readonly, hidden, & has description parameter
<CheckBoxInfo>:
[<string>, # name
<FlagLetters>,
<string>, # description
"CB:=", <string>, # optional - script for call back
<bool>] # value: true or false
<ButtonInfo>:
[<string>, # name
<FlagLetters>,
<string>, # description
<string>, # button title
<string>, # extra text
<ClientID>,
"ButtonPropClientData:= ", <ClientDataArray>]
<ClientID>:
<int> # specifies Button Prop Client:
# 0 - unknown, "ButtonPropClientData" array will be empty
# 1 - Netlist Prop Client
# 2 - not used
# 3 - File Name Prop Client
<ClientDataArray>:
varies with <ClientID>
<ClientID> is 0 or 1: empty array[]
<ClientID> is 3:
["InternalFormatText:=", "<prefix><RelativePath>"]
<prefix>:
<string> # "<Project>", "<PersonalLib>", "<UserLib>", or "<SysLib>"
<RelativePath>:
<string> # relative path to file from <prefix>
<TextInfo>:
[<string>, # name
<FlagLetters>,
<string>, # description
"CB:=", <string>, # optional - script for call back
<string>] # value: a text string
<NumberInfo>:
[<string>, # name
<FlagLetters>,
<string>, # description
"CB:=", <string>, # optional - script for call back
<real>, # value: a number
<string>] # units
<SeparatorInfo>:
[<string>, # name
<FlagLetters>,
<string>, # description
"CB:=", <string>, # optional - script for call back
<string>] # value: a text string
<ValueInfo>:
[<string>, # name
<FlagLetters>,
<string>, # description
"CB:=", <string>, # optional - script for call back
<string>] # value: a number, variable or expression
<MenuPropInfo>:
[<string>, # name
<FlagLetters>,
<string>, # description
<string>, # menu choices - separated by commas
<int>] # 0 based index of current menu choice
<VPointInfo>:
[<string>, # name
<FlagLetters>,
<string>, # description
"CB:=", <string>, # optional - script for call back
<string>, # x value: number with length units
<string>] # y value: number with length units
<PointInfo>:
[<string>, # name
<FlagLetters>,
<string>, # description
"CB:=", <string>, # optional - script for call back
<real>, # x value
<real>] # y value
<QuantityPropInfo>:
[<string>, # name
<FlagLetters>,
<string>, # description
<string>, # value
<TypeString>, # string, options are "Across", "Through", or "Free"
<TypeStringDependentInfo>]
<TypeStringDependentInfo>:
"Free" :
<string>, # direction: "In", "Out", "InOut", or "DontCare"
# Following <string> is not present if direction is "DontCare"
<string> # when to calculate: "BeforeAnalogSolver",
// "BeforeStateGraph", "AfterStateGraph", or "DontCareWhen"
"Across" or "Through"
<int>, # terminal 1
<int> # terminal 2
<CosimDefInfo>:
["NAME:CosimDefinition",
"CosimulatorType:=", <int>,
"CosimDefName:=", <string> # "HFSS3D", "Circuit", "Custom", or "Netlist"
"IsDefinition:=", <bool>,
final array members]
Final array member(s) vary with CosimDefName:
- final array members for HFSS 3D Layout:
- final array members for Circuit:
- final array member for Custom:
- final array member for Netlist:
"CosimStackup:=", <string>,
"CosimDmbedRatio:=", <int>
"ExportAsNport:=", <int>,
"UsePjt:=", <int>
"DefinitionCompName:=", <string>
"NetlistString:=", <string>
| Python Syntax |
Edit (<ComponentName>, [<NewComponentName>", <Info>, <RefBase>,<NumParts>, <Terminals>, <Parameters>,<Properties>, <Quantities>,<CosimDefInfo>]) |
| Python Example |
|
|
Python Example |
|