<Code Lib>
2023 Class
Changes 3
C

InstanceNode

Description:
An output node that represents an instance of a geometry. It can be an instance of FamilyInstance, or it can be and instance of a part of symbol's geometry.
Remarks:
See also: OnInstanceBegin(InstanceNode). The SymbolGeometryId. contains the data for comparing if two InstanceNode points to the same geometry.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.RenderNode
    Autodesk.Revit.DB.GroupNode
      Autodesk.Revit.DB.InstanceNode

public class InstanceNode : GroupNode

Name Return Type Description Inherited From
M GetSymbolGeometryId() SymbolGeometryId Gets the SymbolGeometryId associated with the node.
M Dispose() None Releases all resources used by the RenderNode RenderNode
M GetSymbolId() ElementId The Id of the symbol associated with the node. This property is deprecated in Revit 2023 and may be removed in a future version of Revit. For an InstanceNode please use the GetSymbolGeometryId().SymbolId. For a LinkNode please use SymbolId property. In Revit 2023 we introduced instance nodes that point to a part of the symbol's geometry. For comparing if two such nodes point to the same geometry, the SymbolId isn't enough. SymbolGeometryId can be used to identify a piece of geometry managed by a symbol element. GroupNode
M GetTransform() Transform A transformation matrix associated with the node. GroupNode

Name Return Type Description Inherited From
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity. RenderNode
P NodeName string A readable name of the output node. RenderNode

Loading…