Share

CoordinationModelLinkUtils 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: 26.3.0.0 (26.3.0.0)

Syntax

C#

public static class CoordinationModelLinkUtils

The CoordinationModelLinkUtils type exposes the following members.

Methods

 NameDescription
Public methodStatic memberContainsCategory Checks whether a provided string is a element category name in the provided AutodeskDocs Coordination Model type.
Public methodStatic memberGetAllCoordinationModelInstanceIds Gets all Coordination Model instance ids in the document.
Public methodStatic memberGetAllCoordinationModelTypeIds Gets all Coordination Model type ids in the document.
Public methodStatic memberGetAllPropertiesForReferenceInsideCoordinationModel Gets all the properties for the provided Coordination Model instance reference.
Public methodStatic memberGetCategoryForReferenceInsideCoordinationModel Returns the category name for the provided element reference inside the provided Coordination Model instance.
Public methodStatic memberGetColorOverride Gets the color override value for the provided Coordination Model type.
Public methodStatic memberGetColorOverrideForCategory Returns the color override value for the provided element category name inside the provided Coordination Model type.
Public methodStatic memberGetCoordinationModelTypeData Gets link data for the provided Coordination Model type.
Public methodStatic memberGetTransparencyOverride Gets the transparency override value for the provided Coordination Model type.
Public methodStatic memberGetVisibilityOverride Gets the visibility override for the provided Coordination Model instance or type.
Public methodStatic memberGetVisibilityOverrideForCategory Gets the visibility override for the provided element category name in the provided Coordination Model type.
Public methodStatic memberGetVisibilityOverrideForReferenceInsideCoordinationModel Gets the visibility for the provided reference inside the Coordination Model from Autodesk Docs.
Public methodStatic memberIsCoordinationModelInstance Checks whether an element is a Coordination Model instance.
Public methodStatic memberIsCoordinationModelType Checks whether an element is a Coordination Model type.
Public methodStatic memberLink3DViewFromAutodeskDocs Creates a Coordination Model instance based on the information provided by the specified Autodesk Docs data and linking options.
Public methodStatic memberLinkCoordinationModelFromLocalPath Creates a Coordination Model instance using the absolute path of a .nwc or .nwd file and the linking options.
Public methodStatic memberReload Reloads the provided Coordination Model type element.
Public methodStatic memberReloadAutodeskDocsCoordinationModelFrom Reloads a Autodesk Docs Coordination Model type from the specified Autodesk Docs data.
Public methodStatic memberReloadLocalCoordinationModelFrom Reloads a local Coordination Model type from the specified absolute path of a .nwc or .nwd file.
Public methodStatic memberSetColorOverride Sets the color override value for the provided Coordination Model type.
Public methodStatic memberSetColorOverrideForCategory Set the color override value for the provided element category name inside the provided Coordination Model type.
Public methodStatic memberSetTransparencyOverride Sets the transparency override value for the provided Coordination Model type.
Public methodStatic memberSetVisibilityOverride Sets the visibility override for the provided Coordination Model instance or type. A value of true means that the graphics are visible.
Public methodStatic memberSetVisibilityOverrideForCategory Sets the visibility override for the provided element category name inside the provided Coordination Model type.
Public methodStatic memberSetVisibilityOverrideForReferenceInsideCoordinationModel Sets the visibility override for the provided reference inside the Coordination Model instance. A value of true means that the graphics are visible.
Public methodStatic memberUnload Unloads the provided Coordination Model type element.

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

Reference

Was this information helpful?