rhino3dm.InstanceDefinitionLayerStyle
- class rhino3dm.InstanceDefinitionLayerStyle
Bases:
enum.IntEnumInstanceDefinition.LayerStyle specifies how model components (layers, materials, dimension styles, etc.) from linked instance definition files appear in the active model.
- Active = 1
Model components (layers, materials, dimension styles, etc.) from linked instance definition files are embedded as ordinary components in the active model. This layer style may be used when the instance definition type is InstanceDefinitionUpdateType.Linked.
- None_ = 0
RhinoCommon’s
None(InstanceDefinitionLayerStyle.Noneis not Python syntax;InstanceDefinitionLayerStyle['None']is the same member). This is the only valid layer style when the instance definition type is InstanceDefinitionUpdateType.Static or InstanceDefinitionUpdateType.LinkedAndEmbedded. This style is not valid when the instance definition type is InstanceDefinitionUpdateType.Linked.
- Reference = 2
Layers from the linked instance definition are reference components in the model. This is the default layer style when the instance definition type is InstanceDefinitionUpdateType.Linked. This layer style may be used when the instance definition type is InstanceDefinitionUpdateType.Linked.