File3dmInstanceDefinitionTable
- class rhino3dm.File3dmInstanceDefinitionTable
- __len__()
[todo] add documentation
- __getitem__()
[todo] add documentation
- __iter__()
[todo] add documentation
- AddInstanceDefinition(idef)
[todo] add documentation
- Add(name, description, url, urlTag, basePoint, geometry, attributes)
Adds an instance definition to the instance definition table.
- Parameters:
name (str) – The definition name.
description (str) – The definition description.
url (str) – A URL or hyperlink.
urlTag (str) – A description of the URL or hyperlink.
basePoint (rhino3dm.Point3d) – A base point.
geometry (list[rhino3dm.GeometryBase]) – An array, a list or any enumerable set of geometry.
attributes (IEnumerable<ObjectAttributes>) – An array, a list or any enumerable set of attributes.
- Returns:
>=0 index of instance definition in the instance definition table. -1 on failure.
- Return type:
int
- FindIndex(index)
[todo] add documentation
- FindId(id)
[todo] add documentation