<Code Lib>
M

Document.Import(String, AXMImportOptions, View)

Description:
Imports an AXM file into the document.

public ElementId Import(
	string file,
	AXMImportOptions options,
	View pDBView
)

  • String
    file
    Full path of the file to import. File must exist and must be a valid AXM file.
  • options
    Various import options applicable to the AXM format. If null, all options will be set to their respective default values. Import FormIt support Preserve color mode, center-to-center and origin-to-origin placement, other options are not supported. Import FormIt does not support orient to view and this view only option.
  • pDBView
    View used to aid placement of the imported file. If the options specify center-to-center placement, this argument is required and the imported file will be placed in the center of the specified view. Otherwise, this view is used to obtain a base level to associate with the imported file. If not specified, an existing view will be chosen instead and may open a view or associate the imported file to an arbitrary level.
Return Value ElementId Returns the element Id of the imported instance.

Loading…