SetImportOption method


Your Ad Here


Topsolid online Help Index

Created : v6.5

 

IApplication.SetImportOption(Extension, Name, Value)

Description

This method allows to customize the behavior of the import translators, by setting the value of one of the available options.

Parameters

IN:

 

String Extension

 

Extension of files managed by the translator.

IN:

String Name

Name of the option to get.

 

IN:

String Value

Option new value.

 

Remarks

The following options may be set (see TopSolid on-line help for options meaning) :

 

AutoCAD (dxf, dwg) :

 

unit : "mm", "cm", "m", "km", "µm", "ft", "in", "mil", "mile", "µin", "auto".

standard : "iso", "afnor", "ansi", "jis", "din", "auto".

Example

App.SetImportOption("dxf", "unit", "mm")

 

Topsolid online Help Index

Your Ad Here