IDPositionAndVisibility

 

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

MVIDPosMethod

optional; ID alignment method

PIDHAlign

MVIDPosHAlign

optional; PID horizontal alignment

PIDVAlign

MVIDPosVAlign

optional; PID vertical alignment

ApplySIDPosition

Boolean

optional; true to align the secondary ID

SIDMethod

MVIDPosMethod

optional; ID alignment method

SIDHAlign

MVIDPosHAlign

optional; SID horizontal alignment

SIDVAlign

MVIDPosVAlign

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