CoordinationModelLinkUtils Class


Coordination Model Link Utils Class

The methods provided by this utility class support the managing of Coordination Model links in Revit documents and their visibility settings control in Revit views.
Inheritance Hierarchy
System Object
Autodesk.Revit.DB.ExternalData CoordinationModelLinkUtils

Namespace: Autodesk.Revit.DB.ExternalData
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static class CoordinationModelLinkUtils

The CoordinationModelLinkUtils type exposes the following members.

Methods
Name Description
Public method Static member ContainsCategory Checks whether a provided string is a element category name in the provided AutodeskDocs Coordination Model type.
Public method Static member GetAllCoordinationModelInstanceIds Gets all Coordination Model instance ids in the document.
Public method Static member GetAllCoordinationModelTypeIds Gets all Coordination Model type ids in the document.
Public method Static member GetAllPropertiesForReferenceInsideCoordinationModel Gets all the properties for the provided Coordination Model instance reference.
Public method Static member GetCategoryForReferenceInsideCoordinationModel Returns the category name for the provided element reference inside the provided Coordination Model instance.
Public method Static member GetColorOverride Gets the color override value for the provided Coordination Model type.
Public method Static member GetColorOverrideForCategory Returns the color override value for the provided element category name inside the provided Coordination Model type.
Public method Static member GetCoordinationModelTypeData Gets link data for the provided Coordination Model type.
Public method Static member GetTransparencyOverride Gets the transparency override value for the provided Coordination Model type.
Public method Static member GetVisibilityOverride Gets the visibility override for the provided Coordination Model instance or type.
Public method Static member GetVisibilityOverrideForCategory Gets the visibility override for the provided element category name in the provided Coordination Model type.
Public method Static member GetVisibilityOverrideForReferenceInsideCoordinationModel Gets the visibility for the provided reference inside the Coordination Model from Autodesk Docs.
Public method Static member IsCoordinationModelInstance Checks whether an element is a Coordination Model instance.
Public method Static member IsCoordinationModelType Checks whether an element is a Coordination Model type.
Public method Static member Link3DViewFromAutodeskDocs Creates a Coordination Model instance based on the information provided by the specified Autodesk Docs data and linking options.
Public method Static member LinkCoordinationModelFromLocalPath Creates a Coordination Model instance using the absolute path of a .nwc or .nwd file and the linking options.
Public method Static member Reload Reloads the provided Coordination Model type element.
Public method Static member ReloadAutodeskDocsCoordinationModelFrom Reloads a Autodesk Docs Coordination Model type from the specified Autodesk Docs data.
Public method Static member ReloadLocalCoordinationModelFrom Reloads a local Coordination Model type from the specified absolute path of a .nwc or .nwd file.
Public method Static member SetColorOverride Sets the color override value for the provided Coordination Model type.
Public method Static member SetColorOverrideForCategory Set the color override value for the provided element category name inside the provided Coordination Model type.
Public method Static member SetTransparencyOverride Sets the transparency override value for the provided Coordination Model type.
Public method Static member SetVisibilityOverride Sets the visibility override for the provided Coordination Model instance or type. A value of true means that the graphics are visible.
Public method Static member SetVisibilityOverrideForCategory Sets the visibility override for the provided element category name inside the provided Coordination Model type.
Public method Static member SetVisibilityOverrideForReferenceInsideCoordinationModel Sets the visibility override for the provided reference inside the Coordination Model instance. A value of true means that the graphics are visible.
Public method Static member Unload Unloads the provided Coordination Model type element.
Top
Remarks

Coordination Model links can be created from Autodesk Docs 3D views or local .nwc or .nwd files.

A Coordination Model type holds the data that defines the link to a Autodesk Docs 3D view or a local .nwc or .nwd file. This data can be retrieved in the CoordinationModelLinkData object.

A Coordination Model type can have multiple Coordination Model instances.

Coordination Model type is an ElementType of BuiltInCategory.OST_Coordination_Model category. Coordination Model instance is an Element of BuiltInCategory.OST_Coordination_Model category.

See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →