ImportFreeForm Method

AEC Auto

ImportFreeForm Method

Imports a free form representation from a file.

See Also | Example

Signature

object.ImportFreeForm("FileName"[, CenterAtLocation])

object

AecMassElement The object being imported to. This must be a free form mass element (Type = aecMassElementTypeFreeForm).

FileName

String; input-only
The name of the file to import the free form representation from.

CenterAtLocation

Boolean; optional.
Controls whether the the vertices of the imported boundary representation are translated to the insertion point of the mass element.
TRUE:  Translate the boundary representation to the mass element insertion point.
FALSE: Use the coordinates saved with the exported boundary representation.

The default is FALSE.

Remarks

If no path is specified for FileName, the current drawing's directory is searched.