FActLayer | Document List Handling |
Declaration:
FUNCTION FActLayer
:HANDLE ; Description:
Function FActLayer returns a handle to the first object on the active layer. If the object does not exist, the function returns NIL.
Example:
FIn3D | Document List Handling |
Declaration:
FUNCTION FIn3D
( objectHd:HANDLE ) :HANDLE ; Description:
Function FIn3D returns a handle to the first component object in the referenced 3D object definition.Parameters:
objectHd Handle to object. Example:
FInFolder | Document List Handling |
Declaration:
FUNCTION FInFolder
( sfHd:HANDLE ) :HANDLE ; Description:
Function FInFolder returns a handle to the first object in the referenced symbol folder. The object can be either a symbol definition or a nested symbol folder.
If the folder is empty, the function returns NIL.
Parameters:
sfHd Handle to symbol definition or symbol folder. Example:
FInGroup | Document List Handling |
Declaration:
FUNCTION FInGroup
( ObjectHd:HANDLE ) :HANDLE ; Description:
Function FInGroup returns a handle to the first component object of the referenced group.
Parameters:
ObjectHd Handle to group object. Example:
FInLayer | Document List Handling |
Declaration:
FUNCTION FInLayer
( h:HANDLE ) :HANDLE ; Description:
Function FInLayer returns a handle to the first object within the referenced layer. If the layer is empty, the function returns NIL.
Parameters:
h Handle to layer. Example:
FInSymDef | Document List Handling |
Declaration:
FUNCTION FInSymDef
( sdHd:HANDLE ) :HANDLE ; Description:
Function FInSymDef returns a handle to the first component object within the referenced symbol definition.
Parameters:
sdHd Handle to symbol definition. Example:
FObject | Document List Handling |
Declaration:
FUNCTION FObject
:HANDLE ; Description:
Function FObject returns a handle to the first object in the active document. If the document is empty, the function returns NIL.
Example:
FSActLayer | Document List Handling |
Declaration:
FUNCTION FSActLayer
:HANDLE ; Description:
Function FSActLayer returns a handle to the first selected object on the active layer. If no objects are selected, the function returns NIL.
Example:
FSObject | Document List Handling |
Declaration:
FUNCTION FSObject
( h:HANDLE ) :HANDLE ; Description:
Function FSObject returns the handle to the first selected object in the referenced layer. If no objects are selected, the function returns NIL.
Parameters:
h Handle to layer. Example:
FSymDef | Document List Handling |
Declaration:
FUNCTION FSymDef
:HANDLE ; Description:
Function FSymDef returns a handle to the first symbol definition in the current document's symbol library. If the symbol library is empty, the function returns NIL.
Example:
LActLayer | Document List Handling |
Declaration:
FUNCTION LActLayer
:HANDLE ; Description:
Function LActLayer returns a handle to the last object in the active layer.
LObject | Document List Handling |
Declaration:
FUNCTION LObject
:HANDLE ; Description:
Function LObject returns a handle to the last object in the active document.
LSActLayer | Document List Handling |
Declaration:
FUNCTION LSActLayer
:HANDLE ; Description:
Function LSActLayer returns a handle to the last selected object on the active layer. If no objects are selected, the function returns NIL.
Example:
NextDObj | Document List Handling |
Declaration:
FUNCTION NextDObj
( h:HANDLE ) :HANDLE ; Description:
Function NextDObj returns the next deselected object after the referenced object in a list. If the end of the list is reached, the function returns NIL.
Parameters:
h Handle to object. Example:
handleToObject:=FObject; WHILE handleToObject <> NIL DO BEGIN SetSelect(handleToObject); handleToObject:=NextDObj(handleToObject); END; { selects all deselected objects }
NextLayer | Document List Handling |
Declaration:
FUNCTION NextLayer
( h:HANDLE ) :HANDLE ; Description:
Function NextLayer returns a handle to the next layer in the document after the referenced. If the end of the list has been reached, the function returns NIL.
Parameters:
h Handle to layer. Example:
handleToLayer:=FLayer; WHILE handleToLayer <> NIL DO BEGIN SysBeep; handleToLayer:=NextLayer(handleToLayer); END; { will process through all the layers in the list }
NextObj | Document List Handling |
Declaration:
FUNCTION NextObj
( h:HANDLE ) :HANDLE ; Description:
Function NextObj returns the next object in any list . If the end of the list is reached, the function returns NIL. This procedure can be used with other handle routines such as FirstIn3D,FInGroup, FirstInSymDef, or FLayer.
Parameters:
h Handle to object, group, or symbol definition. Example:
handleToObject:=FObject; WHILE handleToObject <> NIL DO BEGIN i:=i+1; handleToObject:=NextObj(handleToObject); END;
NextSObj | Document List Handling |
Declaration:
FUNCTION NextSObj
( h:HANDLE ) :HANDLE ; Description:
Function NextSObj returns the next selected object in a list. If the end of the list is reached, the function returns NIL.
Parameters:
h Handle to object.
NextSymDef | Document List Handling |
Declaration:
FUNCTION NextSymDef
( symHd:HANDLE ) :HANDLE ; Description:
Function NextSymDef returns a handle to the next definition in the symbol library after the referenced symbol. If the end of the list has been reached, the function returns NIL.
Parameters:
symHd Handle to symbol definition in library.
PrevDObj | Document List Handling |
Declaration:
FUNCTION PrevDObj
( h:HANDLE ) :HANDLE ; Description:
Function PrevDObj returns the previous deselected object in a list of objects . If the end of the object list is reached, the function returns NIL.
Parameters:
h Handle to object.
PrevLayer | Document List Handling |
Declaration:
FUNCTION PrevLayer
( h:HANDLE ) :HANDLE ; Description:
Function PrevLayer returns a handle to the layer in the document preceding the referenced layer.Parameters:
h Handle to layer. Example:
PrevObj | Document List Handling |
Declaration:
FUNCTION PrevObj
( h:HANDLE ) :HANDLE ; Description:
Function PrevObj returns the object in any list which precedes the specified object. If the end of the list is reached, the function returns NIL.
Parameters:
h Handle to object, group, or symbol definition.
PrevSObj | Document List Handling |
Declaration:
FUNCTION PrevSObj
( h:HANDLE ) :HANDLE ; Description:
Function PrevSObj returns the previous selected object in the list preceding the referenced object.
Parameters:
h Handle to object.
PrevSymDef | Document List Handling |
Declaration:
FUNCTION PrevSymDef
( symHd:HANDLE ) :HANDLE ; Description:
Function PrevSymDef returns a handle to the symbol definition in the symbol library preceding the referenced definition.
Parameters:
symHd Handle to symbol definition. Example: