Autodesk Vault ProfessionalVault API

FileRelationship Class

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

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

Syntax

public class FileRelationship : EntityRelationship 
Public Class FileRelationship
   Inherits EntityRelationship

Constructors

NameDescription
FileRelationshipConstructs an instance of a FileRelationship object

Properties

NameDescription
ChildGets the child in a parent-child relationship (ie. a part is a child of an assembly)
ChildFileGets the child file in a parent-child relationship (ie. a part is a child of an assembly)
ChildPathThe path of the child file. The may be a relative path or an absolute path, depending on how the host application maintains relationships
HasPathChangedGets whether or not the location of the parent or child in the relationship has changed. If so, then the parent needs to have it's references updated.
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)
ParentFileGets the parent file 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

See Also