GetParent Method (IEntityHelper)
Gets the parent (block) of the specified entity.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
Function GetParent( _
dsObject* Entity As System.Object _
) As System.Object |
| C# | |
|---|
System.object GetParent(
System.object Entity
) |
| JavaScript | |
|---|
GetParent(
Entity : Object
) : dsObject |
Parameters
- Entity
- Sketch or BlockDefinition entity whose parent (block) to retrieve
- Parent[out] or Return Value
- Parent object (IModel, ISheet, IBlockDefinition, or IExternalReference)
Remarks
See Also
Availability
DraftSight 2019 SP0