SectionStyleTableInUse Method |
Returns true if a section style is use by an object, layer, or instance definition.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic bool InUse(
int index,
out int instanceDefinitionCount,
out int objectCount,
out int layerCount
)
Public Function InUse (
index As Integer,
<OutAttribute> ByRef instanceDefinitionCount As Integer,
<OutAttribute> ByRef objectCount As Integer,
<OutAttribute> ByRef layerCount As Integer
) As Boolean
Parameters
- index
- Type: SystemInt32
The index of the section style to query. - instanceDefinitionCount
- Type: SystemInt32
The number of instance definitions using this section style. - objectCount
- Type: SystemInt32
The number of Rhino objects using this section style. - layerCount
- Type: SystemInt32
The number of layers using this section style.
Return Value
Type:
BooleanTrue if the section style is in use, false otherwise.
See Also