CadObjectGroup

From SDK
Revision as of 19:40, 3 August 2021 by WikiSysop (talk | contribs) (Created page with "right|50px|link=High Level Objects Category:SDK This object is derived from CadObject and represents a group of CadObjects within the job. ==Properties...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Back.jpg

This object is derived from CadObject and represents a group of CadObjects within the job.


Properties

This object inherits all documented properties from the CadObject base class with the following additions


.Count

Interaction: Read Only

Returns:(integer) the number of CadObjects in the group


.IsEmpty

Interaction: Read Only

Returns: (bool) a true if the CadObjectGroup is empty

Methods

This object inherits all documented methods from the CadObject base class with the following additions


:GetAt(POSITION pos)

Returns: the object at the current position

pos (POSTION) current position in list

:GetHead()

Returns: Both the object at the current position AND a new value for position pointing to the next item in the group (or nil if at end of group)

:GetHeadPosition()

Returns: (POSITION) variable to allow access to the head of the group


:GetNext(POSITION pos)

Returns: Both the object at the current position AND a new value for position pointing to the next item in the group (or nil if at end of group)

pos (POSTION) current position in group

:GetPrev(POSITION pos)

Returns: Both the object at the current position AND a new value for position, pointing to the previous item in the group (or nil if at start of group)

pos (POSTION) current position in list


:GetTailPosition()

Returns: (POSITION) variable to allow access to the tail (end) of the group


Back.jpg

References

Please Note: The base material for the contents found in this WiKi was sourced from Vectric Lua Interface for Gadgets, version 2.05, published September 12, 2018. by Vectric Ltd. Most current document from Vertric can be downloaded at Vertric Developer Information