The IDPositionAndVisibility method aligns the selected shapes' primary IDs and secondary IDs and changes their visibility.
Syntax
object.IDPositionAndVisibility( ApplyPIDPosition, PIDMethod, PIDHAlign, PIDVAlign, ApplySIDPosition, SIDMethod, SIDHAlign, SIDVAlign, ApplyPIDVisibility, ShowPID, ApplySIDVisibility, ShowSID )
Parameter |
Type |
Description |
ApplyPIDPosition |
Boolean |
optional; true to align primary ID |
PIDMethod |
optional; ID alignment method |
|
PIDHAlign |
optional; PID horizontal alignment |
|
PIDVAlign |
optional; PID vertical alignment |
|
ApplySIDPosition |
Boolean |
optional; true to align the secondary ID |
SIDMethod |
optional; ID alignment method |
|
SIDHAlign |
optional; SID horizontal alignment |
|
SIDVAlign |
optional; SID vertical alignment |
|
ApplyPIDVisibility |
Boolean |
optional; true to change the state of ShowPID |
ShowPID |
Boolean |
optional; true to show PID |
ApplySIDVisibility |
Boolean |
optional; true to change the state of ShowPID |
ShowSID |
Boolean |
optional; true to show SID |
Example
'IDPositionAndVisibility
'Select all the boundaries on the active layer
Plot.Layers.ActiveLayer.Shapes.SelectAll
'Show the PID of the selected objects
Selection.IDPositionAndVisibility(ApplyPIDPosition:=True, ApplyPIDVisibility:=True, ShowPID:=True)
Used by: Selection collection