Method Import
Import(int, string, PdmObjectId, out List<string>, out List<DocumentId>)
Imports a file with conversion into a project or one of its folders.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 6, 0, 0)]
List<DocumentId> Import(int inImporterIx, 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]. |
| 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.6.