Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

leAttachFig

leAttachFig( 
d_figId1 
[ d_figId2 ]
) 
=> t / nil

Description

Attaches d_figId1 to d_figId2 by making d_figId1 a child of d_figId2. If d_figId1 is already attached to another object, it is detached from it. If d_figId2 is not specified, d_figId1 is detached from any object it is currently attached to without attaching it to anything else.

Arguments

d_figId1

The database ID of the child object.

d_figId2

The database ID of the parent object.

Value Returned

t

The child is attached.

nil

The child is not attached.

Example

Makes the object fig1 a child of the object fig2 and returns t:

leAttachFig( fig1 fig2 )

Detaches fig1 from any object it is currently attached to without attaching it to anything else and returns t:

leAttachFig( fig1 )

Interactive Function

Enter this function with only the window ID argument; the system prompts to point to the child object and the parent object. If you do not specify w_windowId, current window is used.

leHiAttach( [ w_windowId ] ) => t / nil

Return to top
 ⠀
X