Table of Contents

Method XrefAttach

Namespace
VectorDraw.Professional.vdObjects
Assembly
VectorDraw.Professional.dll

XrefAttach(string, gPoint, vdEntities)

Inserts a new External Reference Block.

public vdInsert XrefAttach(string filename, gPoint insertionpoint, vdEntities EntitiesCollectionToAdd)

Parameters

filename string

The filename of the external reference.

insertionpoint gPoint

The insertion point in World Coordinate System.

EntitiesCollectionToAdd vdEntities

The collection where the vdInsert object will be added(usually Layout.Entities collection).

Returns

vdInsert

The created vdInsert object or null if the function failed.