Autodesk Vault ProfessionalVault API

EntityRelationship Class

Autodesk.DataManagement.Client.Framework.VaultAutodesk.DataManagement.Client.Framework.Vault.Currency.Entities

An object that describes a parent-child relationship between two entities

Syntax

public class EntityRelationship 
Public Class EntityRelationship 

Constructors

NameDescription
EntityRelationshipConstructs an instance of a EntityRelationship object

Properties

NameDescription
ChildGets the child in a parent-child relationship (ie. a part is a child of an assembly)
IsAttachmentGets if the relationship was manually created by the user (ie. an attachment) as opposed to a dependency relationship where file A depends on file B
KeyGets the key of this relationship, which is an identifier of this relationship.
ParentGets the parent in a parent-child relationship (ie. an assembly is a parent to a part)
RefIdGets an ID that uniquely identifies the parent-child relationship
RelationshipTypeAn option string which identifies the type of relationship. It is often the name of the application that created the relationship. For example, in the case of an Assembly that is the parent of a Part, the relationshipType will be "INVENTOR"

Inheritance Hierarchy

  • System.Object
  • Autodesk.DataManagement.Client.Framework.Vault.Currency.Entities.EntityRelationship
  • Autodesk.DataManagement.Client.Framework.Vault.Currency.Entities.FileRelationship

See Also