lxSetUpdateOptions
lxSetUpdateOptions(
[ ?deletePins { t | nil } ]
[ ?deleteInstances { t | nil } ]
[ ?replaceMaster { t | nil } ]
[ ?withMarkers { t | nil } ]
[ ?netsOnly { t | nil } ]
[ ?selected nil { t | nil } ]
[ ?layoutParameters { t | nil } ]
[ ?layoutConstraints { t | nil } ]
[ ?sigType { t | nil } ]
[ ?netVoltage { t | nil } ]
)
=> t / nil
Description
Sets the options in the Update group box of the Update Components and Nets form. It must be called between calls to lxUpdateComponentsAndNetsStart and lxUpdateComponentsAndNetsFinish.
Arguments
|
?deletePins
|
Deletes layout pins that are no longer present in the schematic. Redundant nets and terminals are deleted from the layout view at the same time.
|
|
?deleteInstances
|
Deletes layout instances that are no longer present in the schematic.
|
|
?replaceMaster
|
Updates any existing instances that use an incorrect master with instances that use the correct master.
Use together with ?withMarkers to specify how the new instances are added to the design.
|
|
?withMarkers
|
When set to t, the system puts a marker on the incorrect instance in the layout canvas and renames it name_old. It then creates a new instance with the correct master and places it below the design boundary.
When set to nil, the system updates the instance in place to use the correct master.
|
|
?netsOnly
|
Updates only net assignments and instance, terminal, and net names.
Enabling this option also automatically preserves user-defined bindings. All other options are ignored, except ?selected.
|
|
?selected
|
Updates only the instances and pins currently selected in the layout window.
|
|
?layoutParameters
|
|
|
Updates the parameters and parameter values on layout instances to match those on their schematic counterparts. Parameters that are set in layout instances but are not present on their schematic counterparts are not removed.
|
|
?layoutConstraints
|
|
|
Updates the layout constraints to match their schematic counterparts.
|
|
?sigType
|
Updates the layout net signal types to match their schematic counterparts.
|
|
?netVoltage
|
Updates the minimum and maximum voltages on layout nets to match their schematic counterparts.
|
Value Returned
|
t
|
Update options were set.
|
|
nil
|
Update options were not set.
|
Example
lxUpdateComponentsAndNetsStart(schId layId (?extractSchematic t))
lxSetUpdateOptions(
?deletePins t
?deleteInstances t
?replaceMaster t
?withMarkers nil
?netsOnly nil
?selected nil
?layoutParameters nil)
?layoutConstraints nil)
lxUpdateComponentsAndNetsFinish(schId layId (?extractSchematic t))
Removes unmatched pins and instances from the layout view and replaces any instances with incorrect masters with new instances of the correct master.
Return to top