LuaPart Methods
From PartProxy
PartProxy
LuaPart Methods |
The LuaPart type exposes the following members.
| Name | Description | |
|---|---|---|
| Activate |
Activate the part
| |
| AsEnumerableBreadthFirst |
Iterate the tree structure in breadth-first way
| |
| AsEnumerableDepthFirst |
Iterate the parts structure in depth-first way
Recursive
| |
| AssertLuaObject |
validate the object
(Inherited from LuaBase.) | |
| Copy |
Copies the specified to PRT.
| |
| DelAttr |
Delete a part's attribute (name and value)
| |
| Dispose |
Disposes this instance.
(Inherited from LuaBase.) | |
| Dispose(Boolean) |
Responsible for unreferencing the object
(Inherited from LuaBase.) | |
| Equals | (Inherited from Object.) | |
| Erase |
Erase the part
| |
| Explode |
Explode the part
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FindChildByLayer |
Finds the child by layer.
| |
| FindChildByName |
Find a part between my children, if there are more parts with same name, it returns the first found.
Search at all levels
| |
| GetActive |
Get the CURRENT part
| |
| GetAllAttr |
Get a list with all part Attributes
| |
| GetAttr |
Get the part Attribute
| |
| GetBasePoint |
Get the base point
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetReference |
Gets the reference.
(Inherited from LuaBase.) | |
| GetSiblingPos |
Returns the position of the part in its level () (0 based, -1 = top part)
| |
| GetTop |
Get the TOP part
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Hide |
Hide the part (option with children)
| |
| IsChildOf |
Determines whether [is child of] [the specified parent].
| |
| IsLockedParent |
Check whether the parent of part is Locked or not (NOT consider the current lock status of part)
| |
| IsLockedRec |
Check whether the part is Locked directly or a parent level
| |
| IsLuaPart |
Check whether is a part or not
| |
| Load |
Load a dwg part structure from file as child of the current part
Returns the top loaded part
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MoveAfter |
FOR SORTED TREE: Move prt After passed prt
| |
| MoveBefore |
FOR SORTED TREE: Move prt Before passed prt
| |
| NewChild |
Create a new child.
Returns the part created
| |
| NewInstance |
News the instance.
| |
| Pointer |
Returns value of the pointer in C++ environment
| |
| PointerInt | Obsolete.
[DEPRECATED] Returns value of the pointer in C++ environment
| |
| PrtFromPointer |
Returns the part corresponding to ptrStr pointer in C++ environment
| |
| PrtFromPointerInt | Obsolete.
[DEPRECATE] Returns the part corresponding to ptr pointer in C++ environment
| |
| Push |
put the object on the stack
(Inherited from LuaBase.) | |
| Redraw |
Redraws the specified mode.
| |
| Save |
Save the parts structure
| |
| SetAttr |
Set the part attribute
| |
| SetBasePoint |
Set the base point
| |
| SetLabelBold |
Set the label BOLD attribute
| |
| SetLabelColor(Color) |
Set the label using a system color
| |
| SetLabelColor(Int32, Int32, Int32) |
Set the color using RGB values
| |
| SetLabelItalic |
Set the Label ITALIC attribute
| |
| SetLabelUnderline |
Set the label UNDERLINE attribute
| |
| Show |
Show the part (option with children)
| |
| ToString |
Returns a String that represents this instance.
(Overrides LuaBaseToString.) | |
| UnReference |
Uns the reference.
(Inherited from LuaBase.) |