Method ImportWithOptions
ImportWithOptions(int, List<KeyValue>, string, PdmObjectId, out List<string>, out List<DocumentId>)
Imports a file with conversion into a project or one of its folders using specified options.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 8, 0, 0)]
List<DocumentId> ImportWithOptions(int inImporterIx, List<KeyValue> inOptions, string inFullName, PdmObjectId inOwnerId, out List<string> outLog, out List<DocumentId> outBadDocumentIds)
Parameters
| Type | Name | Description |
|---|---|---|
| int | inImporterIx | Index of importer to use, within [0, ImporterCount-1]. |
| List<KeyValue> | inOptions | Importer options to use. |
| string | inFullName | Full name of the file to import. |
| PdmObjectId | inOwnerId | PDM object identifier of project or folder owner where imported documents are to be stored. |
| List<string> | outLog | List of string describing the result. |
| List<DocumentId> | outBadDocumentIds | Identifiers of documents containing bad geometry. |
Returns
| Type | Description |
|---|---|
| List<DocumentId> | Imported documents. |
Remarks
This method must not be called between StartModification(string, bool) and EndModification(bool, bool) methods calls.
This method is available since v7.8.