### Instance Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ApplicationShim.html Gets an existing Inventor.Application instance, creating a new one if necessary. ```APIDOC ## Instance() ### Description Gets an existing Inventor.Application instance, and creates a new instance if one cannot be retrieved. ### Method public static Application Instance() ### Returns - **Inventor.Application**: The Inventor Application instance. ### Remarks VB.net/iLogic example: ```vb Dim oApp As Application = ApplicationShim.Instance() ``` C# example: ```csharp Application app = ApplicationShim.Instance(); ``` ``` -------------------------------- ### Get or Create Inventor Application Instance (C#) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ApplicationShim.html Retrieves an existing Inventor Application instance. If no instance is found, a new one will be created. ```csharp Application app = ApplicationShim.Instance() ``` -------------------------------- ### Get or Create Inventor Application Instance (VB.NET/iLogic) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ApplicationShim.html Retrieves an existing Inventor Application instance. If no instance is found, a new one will be created. ```vbnet Dim oApp As Application = ApplicationShim.Instance() ``` -------------------------------- ### CurrentInstance Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ApplicationShim.html Gets the current Inventor.Application instance without creating a new one if it doesn't exist. ```APIDOC ## CurrentInstance() ### Description Gets a current Inventor.Application instance. This will not create a new instance if one cannot be found. ### Method public static Application CurrentInstance() ### Returns - **Inventor.Application**: The current Inventor Application instance. ### Remarks VB.net/iLogic example: ```vb Dim oApp As Application = ApplicationShim.CurrentInstance() ``` C# example: ```csharp Application app = ApplicationShim.CurrentInstance(); ``` ``` -------------------------------- ### Get Parameter by Name (C#) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Extension method to get a parameter from a PartDocument by its name. Requires a valid PartDocument and parameter name. ```csharp public static Parameter GetParameter(this PartDocument document, string parameterName) ``` -------------------------------- ### Document Property Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.PdfExporter.html Gets or sets the drawing document that will be exported to PDF. ```APIDOC ## Document ### Description The drawing document to be exported. ### Property Value - **Inventor.Document** ``` -------------------------------- ### Call PathShim Function in iLogic Source: https://github.com/inventorcode/inventorshims/blob/master/docfx/articles/quick-start.md Example of calling a function from the InventorShims API within an iLogic rule. This specific example checks if a given path is a library path. ```vb PathShim.IsLibraryPath("C:\This\Is\A\Test", ThisApplication) ``` -------------------------------- ### Enumerate Parameters in PartDocument Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Use this method to get an enumerable collection of all parameters within a PartDocument. Ensure you have a valid PartDocument object. ```csharp public static IEnumerable EnumerateParameters(this PartDocument document) ``` -------------------------------- ### Get Parameter Names from AssemblyDocument (C#) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Extension method to retrieve a list of all parameter names within an AssemblyDocument. Ensure the document is valid. ```csharp public static List GetParameterNames(this AssemblyDocument document) ``` -------------------------------- ### Get Parameter by Name from Document Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Retrieves a specific parameter from any Inventor Document by its name. This is a general-purpose method for parameter retrieval. ```vb Dim oParameter As Parameter = GetParameter(oDoc, "ParameterName") ``` ```csharp public static Parameter GetParameter(this Document document, string parameterName) ``` -------------------------------- ### Get Parameter Names from PartDocument (C#) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Extension method to retrieve a list of all parameter names within a PartDocument. Ensure the document is valid. ```csharp public static List GetParameterNames(this PartDocument document) ``` -------------------------------- ### Get Current Inventor Application Instance (VB.NET/iLogic) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ApplicationShim.html Retrieves the current Inventor Application instance. This method will not create a new instance if one is not found. ```vbnet Dim oApp As Application = ApplicationShim.CurrentInstance() ``` -------------------------------- ### Get Parameters from PartDocument Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Retrieves the Parameters object from an Inventor PartDocument. This is essential for working with parameters in part files. ```vb Dim oParams As Parameters = GetParameters(oPartDoc) ``` ```csharp public static Parameters GetParameters(this PartDocument document) ``` -------------------------------- ### Get Current Inventor Application Instance (C#) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ApplicationShim.html Retrieves the current Inventor Application instance. This method will not create a new instance if one is not found. ```csharp Application app = ApplicationShim.CurrentInstance() ``` -------------------------------- ### Get Parameter by Name from AssemblyDocument Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Retrieves a specific parameter from an AssemblyDocument by its name. The parameter name must be provided as a string. ```vb Dim oParameter As Parameter = GetParameter(oAssemblyDoc, "ParameterName") ``` ```csharp public static Parameter GetParameter(this AssemblyDocument document, string parameterName) ``` -------------------------------- ### Get Parameter Names from Document (C#) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Extension method to retrieve a list of all parameter names within a generic Inventor Document. This method is applicable to any document type. ```csharp public static List GetParameterNames(this Document document) ``` -------------------------------- ### Get Parameter Names from DrawingDocument (C#) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Extension method to retrieve a list of all parameter names within a DrawingDocument. Ensure the document is valid. ```csharp public static List GetParameterNames(this DrawingDocument document) ``` -------------------------------- ### OneFilePerPartInstance Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StlExporter.html A boolean property that determines whether an assembly is exported as a single file or multiple files, where each part instance gets its own file. ```APIDOC ## OneFilePerPartInstance ### Description Determines whether an assembly is exported as one or multiple files. ### Property Type System.Boolean ``` -------------------------------- ### Get Parameter by Name in PartDocument (VB) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Retrieves a specific parameter object from a PartDocument using its name. Ensure the PartDocument and parameter name are valid. ```vbnet Dim oParameter As Parameter = GetParameter(oPartDoc, "ParameterName") ``` -------------------------------- ### TranslatorShim.StlExporter Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StlExporter.html This section details the methods available for the StlExporter class, which is part of the TranslatorShim namespace. It includes methods for setting and getting attribute values, creating attribute sets, and checking for attribute existence. ```APIDOC ## TranslatorShim.StlExporter ### Description Provides methods for exporting STL files. ### Methods * **Export(Object, String)**: Exports an object to an STL file. * **Export(Object, String, Object)**: Exports an object to an STL file with specified options. ### Parameters #### Export(Object, String) * **obj** (Object) - The object to export. * **filePath** (String) - The path to save the STL file. #### Export(Object, String, Object) * **obj** (Object) - The object to export. * **filePath** (String) - The path to save the STL file. * **options** (Object) - Optional export options. ``` -------------------------------- ### Get Numeric Parameter Value from AssemblyDocument Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Gets the value of a specified numeric parameter from an Inventor AssemblyDocument. The parameter is identified by its name. ```vb Msgbox(GetParameterValue(oAssemblyDoc, "ParameterName")) ``` ```csharp public static string GetParameterValue(this AssemblyDocument document, string parameterName) ``` -------------------------------- ### Build Commands Source: https://github.com/inventorcode/inventorshims/blob/master/docfx/articles/Contributing.md Run these commands in PowerShell or cmd in the repo folder to build the project. ```powershell Nuke or Nuke compile ``` -------------------------------- ### Build Commands Source: https://github.com/inventorcode/inventorshims/blob/master/docs/articles/Contributing.html Run these commands in the repository folder using PowerShell or cmd to build the project. ```bash Nuke ``` ```bash Nuke compile ``` -------------------------------- ### ApplicationProtocol Property Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepExporter.html Specifies the type of STEP file to be created (AP203, AP214, or AP242). Defaults to AP214 for compatibility. ```APIDOC ## ApplicationProtocol ### Description The type of STEP file to be created: AP203 / AP214 / AP242. Defaults to AP214 for compatibility with other software. ### Property Value - **ApplicationProtocol** (StepProtocolEnum) - The STEP protocol version. ``` -------------------------------- ### Description Property Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepExporter.html Sets the description for the STEP file. Defaults to the document's Description iProperty. ```APIDOC ## Description ### Description Defaults to the document's Description iProperty. ### Property Value - **Description** (System.String) - The description of the STEP file. ``` -------------------------------- ### GetParameterValue(Document, String) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Gets the value of a numeric parameter from an Inventor document. ```APIDOC ## GetParameterValue(Document, String) ### Description Gets the value of a numeric parameter. ### Method This is a static extension method. ### Parameters #### Path Parameters - **document** (Inventor.Document) - Required - The Inventor document. - **parameterName** (System.String) - Required - Name of the parameter as a string. ### Returns #### Success Response - **System.String** - The value of the parameter. ### VB Sample ```vb Msgbox(GetParameterValue(oDoc, "ParameterName")) ``` ``` -------------------------------- ### Filename Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Specifies the full path to the STEP file that will be imported. If left empty, it defaults to the STEP file's location. ```APIDOC ## Filename ### Description The full file path of the STEP file to be imported. Defaults to the location of the STEP file if left blank. ### Property - **Filename** (System.String) - Gets or sets the full file path of the STEP file to import. ``` -------------------------------- ### StepImporter.SurfaceType Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Gets or sets the surface organization type for the imported STEP file. ```APIDOC ## Property: SurfaceType ### Description Gets or sets the surface organization type for the imported STEP file. This determines how surfaces are organized within the imported model. ### Declaration ```csharp public ImportedSurfaceOrganizationTypeEnum SurfaceType { get; set; } ``` ### Property Value - **Type**: Inventor.ImportedSurfaceOrganizationTypeEnum - **Description**: Specifies the organization type for surfaces in the imported file. ``` -------------------------------- ### GetParameterValue(PartDocument, String) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Gets the value of a numeric parameter from an Inventor part document. ```APIDOC ## GetParameterValue(PartDocument, String) ### Description Gets the value of a numeric parameter. ### Method This is a static extension method. ### Parameters #### Path Parameters - **document** (Inventor.PartDocument) - Required - The Inventor part document. - **parameterName** (System.String) - Required - Name of the parameter as a string. ### Returns #### Success Response - **System.String** - The value of the parameter. ### VB Sample ```vb Msgbox(GetParameterValue(oPartDoc, "ParameterName")) ``` ``` -------------------------------- ### Create New Inventor Application Instance (C#) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ApplicationShim.html Creates a new Inventor Application instance. By default, the instance will be visible. ```csharp Application app = ApplicationShim.NewInstance() ``` -------------------------------- ### GetParameterValue(DrawingDocument, String) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Gets the value of a numeric parameter from an Inventor drawing document. ```APIDOC ## GetParameterValue(DrawingDocument, String) ### Description Gets the value of a numeric parameter. ### Method This is a static extension method. ### Parameters #### Path Parameters - **document** (Inventor.DrawingDocument) - Required - The Inventor drawing document. - **parameterName** (System.String) - Required - Name of the parameter as a string. ### Returns #### Success Response - **System.String** - The value of the parameter. ### VB Sample ```vb Msgbox(GetParameterValue(oDrawingDoc, "ParameterName")) ``` ``` -------------------------------- ### Export(String) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepExporter.html Exports the current document to a STEP (.stp) file at the specified file path. ```APIDOC ## Export(String) ### Description Export to STP file with the specified full file path. ### Method void ### Endpoint N/A (Method call) ### Parameters #### Path Parameters - **OutputFile** (System.String) - Required - The full path where the STP file will be saved. ``` -------------------------------- ### StepImporter.ImportAsCompositePart() Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Imports a STEP file as a composite part file. ```APIDOC ## Method: ImportAsCompositePart() ### Description Imports a STEP file as a composite part file. ### Declaration ```csharp public PartDocument ImportAsCompositePart() ``` ### Returns - **Type**: Inventor.PartDocument - **Description**: Imported part document. ``` -------------------------------- ### Export() Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepExporter.html Exports the current document to a STEP (.stp) file. The output file will have the same name and be saved in the same directory as the source document. ```APIDOC ## Export() ### Description Export to STP file with the same folder and filename as the document. ### Method void ### Endpoint N/A (Method call) ### Parameters None ``` -------------------------------- ### Get Parameters from DrawingDocument Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Retrieves the Parameters object from an Inventor DrawingDocument. This allows access to parameters associated with a drawing. ```vb Dim oParams As Parameters = GetParameters(oDrawingDoc) ``` ```csharp public static Parameters GetParameters(this DrawingDocument document) ``` -------------------------------- ### Get Parameters from AssemblyDocument Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Retrieves the Parameters object from an Inventor AssemblyDocument. This is useful for accessing and manipulating parameters within an assembly. ```vb Dim oParams As Parameters = GetParameters(oAssemblyDoc) ``` ```csharp public static Parameters GetParameters(this AssemblyDocument document) ``` -------------------------------- ### FilenamePrefix Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Sets a prefix for the filename during the import process. ```APIDOC ## FilenamePrefix ### Description Sets a prefix for the filename during the import process. ### Property - **FilenamePrefix** (System.String) - Gets or sets the filename prefix. ``` -------------------------------- ### StepImporter.ImportAsMultiBodyPart() Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Imports a STEP file as a multi-body part file. ```APIDOC ## Method: ImportAsMultiBodyPart() ### Description Imports a STEP file as a multi-body part file. ### Declaration ```csharp public PartDocument ImportAsMultiBodyPart() ``` ### Returns - **Type**: Inventor.PartDocument - **Description**: Imported part document. ``` -------------------------------- ### Get Parameter by Name from DrawingDocument Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Retrieves a specific parameter from a DrawingDocument by its name. Use this when working with parameters in drawing files. ```vb Dim oParameter As Parameter = GetParameter(oDrawingDoc, "ParameterName") ``` ```csharp public static Parameter GetParameter(this DrawingDocument document, string parameterName) ``` -------------------------------- ### DisplayWhenDone Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Controls whether the imported document is displayed immediately after import. If false, the document is opened hidden and can be shown later. ```APIDOC ## DisplayWhenDone ### Description Displays the document after it has imported. Otherwise, it will be opened as a hidden document, which can be shown using `Document.Views.Add()` ### Property - **DisplayWhenDone** (System.Boolean) - Gets or sets a value indicating whether to display the document after import. ``` -------------------------------- ### Export() Method Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StlExporter.html Exports the current document to an STL file in the same directory with the same filename. ```APIDOC ## Export() Method ### Description Exports the current document to an STL file, using the same folder and filename as the document. ### Declaration ```csharp public void Export() ``` ``` -------------------------------- ### NewInstance Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ApplicationShim.html Creates a new Inventor Application instance, with an option to control its visibility. ```APIDOC ## NewInstance(Boolean) ### Description Creates a new Inventor Application instance. ### Method public static Application NewInstance(bool visibility = true) ### Parameters #### Path Parameters - **visibility** (System.Boolean) - Optional - An optional boolean value indicates the visibility of the new Inventor instance: true = visible. ### Returns - **Inventor.Application**: The newly created Inventor Application instance. ### Remarks C# example: ```csharp Application app = ApplicationShim.NewInstance(); ``` ``` -------------------------------- ### Get Parameter Value (VB.NET) - PartDocument Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Retrieves the value of a numeric parameter specifically from an Inventor PartDocument. Use this for part-specific operations. ```vb.net Msgbox(GetParameterValue(oPartDoc, "ParameterName")) ``` -------------------------------- ### Get Parameter Value (VB.NET) - DrawingDocument Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Retrieves the value of a numeric parameter specifically from an Inventor DrawingDocument. Use this for drawing-specific operations. ```vb.net Msgbox(GetParameterValue(oDrawingDoc, "ParameterName")) ``` -------------------------------- ### StepImporter Constructor Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Initializes a new instance of the StepImporter class. The Filename parameter specifies the full path to the STEP file, and the Application parameter is the Inventor Application instance. ```APIDOC ## StepImporter(String, Application) ### Description Initializes a new instance of [StepImporter]. `Filename` is the full file path of the STEP file to be imported. ### Method Constructor ### Parameters #### Path Parameters - **Filename** (System.String) - Required - The full file path of the STEP file to be imported. - **Application** (Inventor.Application) - Required - The Inventor Application instance. ``` -------------------------------- ### StlExporter Constructors Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StlExporter.html Initializes a new instance of the StlExporter class. ```APIDOC ## StlExporter(Document) ### Description Initializes a new instance of [StlExporter](InventorShims.TranslatorShim.StlExporter.html). ### Parameters #### Parameters - **Document** (Inventor.Document) - Description: The document to be exported. ``` -------------------------------- ### Get Parameter Value (VB.NET) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Retrieves the value of a numeric parameter from an Inventor document. Use this when working with general Inventor documents. ```vb.net Msgbox(GetParameterValue(oDoc, "ParameterName")) ``` -------------------------------- ### EnumerateReferencingDocuments(AssemblyDocument) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.DocumentShim.html Returns an IEnumerable of referencing documents in an AssemblyDocument object. ```APIDOC ## EnumerateReferencingDocuments(AssemblyDocument) ### Description Returns an IEnumerable of referencing documents in an AssemblyDocument object. ### Method Extension Method ### Parameters #### Path Parameters - **document** (Inventor.AssemblyDocument) - The AssemblyDocument to enumerate referencing documents from. ``` -------------------------------- ### StepProtocolEnum Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.html Wrapper for the ApplicationProtocolType used by the STEP export method. ```APIDOC ## StepProtocolEnum ### Description Wrapper for the ApplicationProtocolType that is used by the STEP export method. ### Enum InventorShims.TranslatorShim.StepProtocolEnum ``` -------------------------------- ### AdvancedHealing Property Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Gets or sets a value indicating whether slight alterations in surface geometry are allowed to stitch surfaces during import. ```APIDOC ## AdvancedHealing ### Description If selected, slight alterations in the surface geometry are allowed to stitch the surfaces. ### Property Type System.Boolean ``` -------------------------------- ### DwgExporter Constructors Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.DwgExporter.html Initializes a new instance of the DwgExporter class. ```APIDOC ## DwgExporter(Document) ### Description Initializes a new instance of [DwgExporter](InventorShims.TranslatorShim.DwgExporter.html) with the default export configuration. ### Parameters - **Document** (Inventor.Document) - The document to be exported. ``` ```APIDOC ## DwgExporter(Document, String) ### Description Initializes a new instance of [DwgExporter](InventorShims.TranslatorShim.DwgExporter.html) with a custom export configuration file. ### Parameters - **Document** (Inventor.Document) - The document to be exported. - **ConfigurationFile** (System.String) - The ini file specifying the export configuration. ``` -------------------------------- ### EnumerateParameters(AssemblyDocument) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Enumerate all parameter objects in a provided AssemblyDocument object as IEnumerable{Parameter}. ```APIDOC ## EnumerateParameters(AssemblyDocument) ### Description Enumerate all parameter objects in a provided AssemblyDocument object as IEnumerable{Parameter}. ### Method static ### Parameters #### Path Parameters - **document** (Inventor.AssemblyDocument) - Description: The AssemblyDocument to enumerate parameters from. ### Returns #### Success Response - **IEnumerable** - An enumerable collection of Parameter objects. ``` -------------------------------- ### ImportWires Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Controls whether wires are included during the STEP file import process. ```APIDOC ## ImportWires ### Description Includes wires in import. ### Declaration ```csharp public bool ImportWires { get; set; } ``` ### Property Value Type Description System.Boolean ``` -------------------------------- ### Export(String) Method Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StlExporter.html Exports the current document to an STL file at the specified file path. ```APIDOC ## Export(String) Method ### Description Exports the current document to an STL file at the specified full file path. ### Declaration ```csharp public void Export(string OutputFile) ``` ### Parameters - **OutputFile** (`System.String`) - Required - The full path where the STL file will be saved. ``` -------------------------------- ### FilenamePrefix Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Specifies a prefix to be added to the filenames of all components in an imported assembly. This property takes precedence over FilenameSuffix if both are set. ```APIDOC ## Property: FilenamePrefix ### Description Added to filenames of all components in imported assembly. ### Declaration ```csharp public string FilenamePrefix { get; set; } ``` ### Property Value * **Type**: System.String * **Description**: The prefix to add to component filenames. ``` -------------------------------- ### GetActiveColorSchemeName Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.UiShim.html Gets the active color scheme name as a string. This method retrieves the name of the currently active color scheme in the Inventor application. ```APIDOC ## GetActiveColorSchemeName(Application) ### Description Gets the active color scheme name as a string. ### Method GET (Implied by extension method usage) ### Endpoint N/A (SDK Method) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Response #### Success Response - **Return Value** (System.String) - The name of the active color scheme. ``` -------------------------------- ### StepImporter Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.html Provides functionality to import a STEP file. ```APIDOC ## StepImporter ### Description Imports a STEP file. ### Class InventorShims.TranslatorShim.StepImporter ``` -------------------------------- ### StepExporter Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.html Provides functionality to export a document to a STP file. ```APIDOC ## StepExporter ### Description Exports a document to a STP file. ### Class InventorShims.TranslatorShim.StepExporter ``` -------------------------------- ### ExportSheets(Int32, String) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.PdfExporter.html Export all sheets, beginning with `StartSheet`, to a single PDF file with the specified full file path. ```APIDOC ## ExportSheets(Int32, String) ### Description Export all sheets, beginning with `StartSheet`, to a single PDF file with the specified full file path. ### Method void ### Parameters #### Path Parameters - **StartSheet** (System.Int32) - Description: - **OutputFile** (System.String) - Description: ``` -------------------------------- ### Add InventorShims Reference in iLogic Source: https://github.com/inventorcode/inventorshims/blob/master/README.md Include this code in your iLogic rule header to reference the InventorShims.dll. Ensure the path to the DLL is correct for your setup. ```vbnet AddReference "C:\Path\To\File\InventorShims.dll" Imports InventorShims 'Add your code here, include InventorShims API functions as you need... ``` -------------------------------- ### PdfExporter Constructor Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.PdfExporter.html Initializes a new instance of the PdfExporter class, requiring a DrawingDocument to be provided. ```APIDOC ## PdfExporter(DrawingDocument) ### Description Initializes a new instance of [PdfExporter](InventorShims.TranslatorShim.PdfExporter.html). ### Parameters #### Parameters - **Document** (Inventor.DrawingDocument) - The drawing document to be exported. ``` -------------------------------- ### Author Property Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepExporter.html Sets the author of the STEP file. Defaults to the current username defined in Inventor's Application Options. ```APIDOC ## Author ### Description Defaults to the current username that is defined in Inventor's Application Options. ### Property Value - **Author** (System.String) - The name of the author. ``` -------------------------------- ### AutoStitchAndPromote Property Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Gets or sets a value indicating whether Inventor should attempt to stitch surfaces into a quilt or solid and promote the result to the Part environment. ```APIDOC ## AutoStitchAndPromote ### Description Inventor attempts to stitch surfaces into a quilt or solid. If the surfaces are stitched into a single quilt or body, the resulting quilt or body is promoted to the Part environment. Otherwise, the surfaces remain in the Construction environment. ### Property Type System.Boolean ``` -------------------------------- ### ExportSheets(Int32) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.PdfExporter.html Export all sheets, beginning with `StartSheet`, to a single PDF file with the same folder and filename as the document. ```APIDOC ## ExportSheets(Int32) ### Description Export all sheets, beginning with `StartSheet`, to a single PDF file with the same folder and filename as the document. ### Method ``` public void ExportSheets(int StartSheet) ``` ### Parameters #### Path Parameters - **StartSheet** (System.Int32) - Description: ``` -------------------------------- ### Export Method Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.DwgExporter.html Exports the document to a DWG file. ```APIDOC ## Export() ### Description Export to DWG file with the same folder and filename as the document. ### Method Public ``` -------------------------------- ### Get Parameters from Document Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Retrieves the Parameters object from a generic Inventor Document. This method can be used when the specific document type is not known or when dealing with a base Document object. ```vb Dim oParams As Parameters = GetParameters(oDoc) ``` ```csharp public static Parameters GetParameters(this Document document) ``` -------------------------------- ### StepProtocolEnum Fields Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepProtocolEnum.html Defines the available STEP export protocols. ```APIDOC ## Enum StepProtocolEnum ### Description Wrapper for the ApplicationProtocolType that is used by the STEP export method. ### Fields - **AP203** (Enum Member) - Configuration Controlled Design - **AP214** (Enum Member) - Automotive Design - **AP242** (Enum Member) - Managed Model Based 3D Engineering (Includes PMI and meshes) ``` -------------------------------- ### EnumerateReferencingDocuments(PresentationDocument) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.DocumentShim.html Returns an IEnumerable of referencing documents in a PresentationDocument object. ```APIDOC ## EnumerateReferencingDocuments(PresentationDocument) ### Description Returns an IEnumerable of referencing documents in a PresentationDocument object. ### Method Extension Method ### Parameters #### Path Parameters - **document** (Inventor.PresentationDocument) - The PresentationDocument to enumerate referencing documents from. ``` -------------------------------- ### GetActiveColorSchemeBackground Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.UiShim.html Gets the background type enum in a more memorable way. This method allows retrieval of the current background type setting of the Inventor application's color scheme. ```APIDOC ## GetActiveColorSchemeBackground(Application) ### Description Gets the background type enum in a more memorable way. ### Method GET (Implied by extension method usage) ### Endpoint N/A (SDK Method) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Response #### Success Response - **Return Value** (Inventor.BackgroundTypeEnum) - The current background type of the color scheme. ``` -------------------------------- ### CheckDuringLoad Property Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Gets or sets a value indicating whether to check the quality of imported data during the loading process. If bad data is found, the composite is marked, and remaining bodies are not checked. ```APIDOC ## CheckDuringLoad ### Description Checks the quality of imported data. If a bad data is found, the composite is marked with an exclamation mark in the browser and the remaining bodies are not checked. This option may significantly increase the amount of time required to translate a file. ### Property Type System.Boolean ``` -------------------------------- ### TranslatorShim.StepImporter Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Provides methods for importing STEP files using the TranslatorShim. ```APIDOC ## TranslatorShim.StepImporter ### Description This class provides functionalities related to importing STEP files. ### Methods This class does not expose any public methods directly callable by the user in this documentation snippet. Refer to related classes for available operations. ``` -------------------------------- ### GetParameterNames(Document) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Retrieves a list of all parameter names present within a generic Inventor Document. This method provides a general way to get parameter names across different document types. ```APIDOC ## GetParameterNames(Document) ### Description Return a list of parameter names within the specified Document. ### Method This is a static extension method. ### Endpoint N/A (SDK method) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Parameters - **document** (Inventor.Document) - Required - The Inventor Document to retrieve parameter names from. ### Returns #### Success Response - **System.Collections.Generic.List** - A list of parameter names (strings). ### Response Example ```csharp List parameterNames = ParameterShim.GetParameterNames(oDoc); ``` ``` -------------------------------- ### StepImporter.ImportAsReference() Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Imports a STEP file associatively. The structure of the STEP file determines whether it imports as a part or an assembly. ```APIDOC ## Method: ImportAsReference() ### Description Imports a STEP file associatively. The structure of the STEP file determines whether it imports as a part or an assembly. ### Declaration ```csharp public Document ImportAsReference() ``` ### Returns - **Type**: Inventor.Document - **Description**: Imported part or assembly document. ``` -------------------------------- ### FaceSplitAndMerge Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Configures the importer to handle face splitting and merging during STEP file import. ```APIDOC ## FaceSplitAndMerge ### Description Controls the behavior of face splitting and merging during STEP file import. ### Property - **FaceSplitAndMerge** (System.Boolean) - Gets or sets a value indicating whether to enable face split and merge. ``` -------------------------------- ### Load InventorShims in iLogic Source: https://github.com/inventorcode/inventorshims/blob/master/docfx/index.md Include these lines in your iLogic rule's header to load the InventorShims.dll and import its namespace. ```vb.net AddReference "InventorShims.dll" Imports InventorShims ``` -------------------------------- ### OpenWhenDone Property Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.PdfExporter.html A boolean property that, when set to true, automatically opens the generated PDF file in its default viewer upon completion of the export process. ```APIDOC ## OpenWhenDone ### Description Opens the PDF file in its default viewer after it has been created. ### Property Value - **System.Boolean** ``` -------------------------------- ### EnumerateAllReferencedDocuments(AssemblyDocument) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.DocumentShim.html Returns an IEnumerable of all referenced documents in an AssemblyDocument object. ```APIDOC ## EnumerateAllReferencedDocuments(AssemblyDocument) ### Description Returns an IEnumerable of all referenced documents in an AssemblyDocument object. ### Method Extension Method ### Parameters #### Path Parameters - **document** (Inventor.AssemblyDocument) - Required - The AssemblyDocument to enumerate references from. ### Returns #### Success Response - **IEnumerable** - A collection of referenced documents. ``` -------------------------------- ### EnumerateReferencingDocuments(PartDocument) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.DocumentShim.html Returns an IEnumerable of referencing documents in a PartDocument object. ```APIDOC ## EnumerateReferencingDocuments(PartDocument) ### Description Returns an IEnumerable of referencing documents in a PartDocument object. ### Method Extension Method ### Parameters #### Path Parameters - **document** (Inventor.PartDocument) - The PartDocument to enumerate referencing documents from. ``` -------------------------------- ### EnumerateReferencedDocumentDescriptors(AssemblyDocument) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.DocumentShim.html Returns an IEnumerable collection of DocumentDescriptors for all documents referenced by a given AssemblyDocument. This is useful for analyzing the dependencies of an assembly. ```APIDOC ## EnumerateReferencedDocumentDescriptors(AssemblyDocument) ### Description Returns an IEnumerable{DocumentDescriptors} of referenced documents in a AssemblyDocument object. ### Method static ### Endpoint N/A (SDK Method) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response - **IEnumerable** - An enumerable collection of DocumentDescriptor objects representing the referenced documents. #### Response Example None ``` -------------------------------- ### StepExporter Constructor Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepExporter.html Initializes a new instance of the StepExporter class, requiring an Inventor Document object. ```APIDOC ## StepExporter(Document) ### Description Initializes a new instance of [StepExporter](InventorShims.TranslatorShim.StepExporter.html). ### Parameters #### Parameters - **Document** (Inventor.Document) - The Inventor document to export. ``` -------------------------------- ### StepImporter.Import() Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Imports a STEP file. The structure of the STEP file determines whether it imports as a part or an assembly. ```APIDOC ## Method: Import() ### Description Imports a STEP file. The structure of the STEP file determines whether it imports as a part or an assembly. ### Declaration ```csharp public Document Import() ``` ### Returns - **Type**: Inventor.Document - **Description**: Imported part or assembly document. ``` -------------------------------- ### EnumerateParameters(Document) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Enumerate all parameter objects in a provided Document object as IEnumerable{Parameter}. ```APIDOC ## EnumerateParameters(Document) ### Description Enumerate all parameter objects in a provided Document object as IEnumerable{Parameter}. ### Method static ### Parameters #### Path Parameters - **document** (Inventor.Document) - Description: The Document to enumerate parameters from. ### Returns #### Success Response - **IEnumerable** - An enumerable collection of Parameter objects. ``` -------------------------------- ### Set Text Parameter Value Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Sets the value of a text parameter, or creates one if it does not exist. Use this when dealing with string-based parameter values. ```vbnet SetParameterValue(oDoc, "ParameterName", "This is a text value!") ``` -------------------------------- ### OrbitToIsoFrontRightTop Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.DocumentShim.html Orbits the current view of the document to show the front isometric angle from the view cube. ```APIDOC ## OrbitToIsoFrontRightTop(Document) ### Description Orbits around the part/assembly to show the view from a front isometric angle on the view cube. ### Method static void ### Parameters #### Path Parameters - **documentToWork** (Inventor.Document) - Required - The document to perform the orbit operation on. ``` -------------------------------- ### FilenameSuffix Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Specifies a suffix to be added to the filenames of all components in an imported assembly. This property is overridden by FilenamePrefix if both are set. ```APIDOC ## Property: FilenameSuffix ### Description Added to filenames of all components in imported assembly. ### Declaration ```csharp public string FilenameSuffix { get; set; } ``` ### Property Value * **Type**: System.String * **Description**: The suffix to add to component filenames. ``` -------------------------------- ### EnumerateReferencingDocuments(Document) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.DocumentShim.html Returns an IEnumerable of referencing documents in a Document object. ```APIDOC ## EnumerateReferencingDocuments(Document) ### Description Returns an IEnumerable of referencing documents in a Document object. ### Method Extension Method ### Parameters #### Path Parameters - **document** (Inventor.Document) - The Document to enumerate referencing documents from. ``` -------------------------------- ### EnumerateAllReferencedDocuments Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.DocumentShim.html Retrieves all referenced documents within an AssemblyDocument. ```APIDOC ## EnumerateAllReferencedDocuments(AssemblyDocument) ### Description Retrieves all referenced documents within an AssemblyDocument. ### Method static ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **document** (IEnumerable) - A collection of Document objects that are referenced by the AssemblyDocument. #### Response Example None ``` -------------------------------- ### SaveDuringLoad Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Enables automatic saving of imported components to the specified SaveLocation. ```APIDOC ## SaveDuringLoad ### Description Automatically saves the imported components into [SaveLocation](InventorShims.TranslatorShim.StepImporter.html#InventorShims_TranslatorShim_StepImporter_SaveLocation). ### Declaration ```csharp public bool SaveDuringLoad { get; set; } ``` ### Property Value Type Description System.Boolean ``` -------------------------------- ### UpOneLevel Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.PathShim.html Removes the last directory component from a given path string. ```APIDOC ## UpOneLevel(String) ### Description Provided a string directory path, returns the path with the last directory removed. E.g. UpOneLevel("C:\\Work\\Stuff\") returns "C:\\Work" ### Method Static Method ### Parameters #### Path Parameters - **path** (System.String) - Required - The path as a string. ### Returns #### Success Response - **System.String** - The path string with the last directory component removed. ``` -------------------------------- ### Authorization Property Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepExporter.html Sets the authorization information for the STEP file, such as the name/mailing address of the person who authorized it, as per ISO 10303-21. ```APIDOC ## Authorization ### Description Not set by default. From ISO 10303-21: The name/mailing address of the person who authorized this file. ### Property Value - **Authorization** (System.String) - The authorization information. ``` -------------------------------- ### ScreenShot(Document, String, Boolean, Boolean) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.DocumentShim.html Captures a screenshot of the specified Inventor document. Allows customization of the background and camera orientation. ```APIDOC ## ScreenShot(Document, String, Boolean, Boolean) ### Description Takes a screenshot of the document. ### Method static void ### Parameters #### Path Parameters - **documentToWork** (Inventor.Document) - Required - Document object - **locationToSaveImage** (System.String) - Required - The file path where the screenshot will be saved. - **setWhiteBg** (System.Boolean) - Optional - If true, sets a white background for the screenshot. Defaults to false. - **orbitToIso** (System.Boolean) - Optional - If true, orients the view to an isometric perspective. Defaults to false. ### Declaration public static void ScreenShot(this Document documentToWork, string locationToSaveImage, bool setWhiteBg = false, bool orbitToIso = false) ``` -------------------------------- ### ExternalRuleDirectories Constructors Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ExternalRuleDirectories.html Constructors for initializing the ExternalRuleDirectories class. One constructor takes no arguments, while the other accepts an Inventor Application object. ```APIDOC ## ExternalRuleDirectories() ### Description Constructor that creates an ExternalRuleDirectories object. ### Declaration ```csharp public ExternalRuleDirectories() ``` ``` ```APIDOC ## ExternalRuleDirectories(Application) ### Description Constructor that creates an ExternalRuleDirectories object. ### Declaration ```csharp public ExternalRuleDirectories(Application local_app) ``` ### Parameters #### Path Parameters - **local_app** (Inventor.Application) - Required - Takes an Inventor.Application object. ``` -------------------------------- ### Reference InventorShims.dll with Full Path in iLogic Source: https://github.com/inventorcode/inventorshims/blob/master/docfx/articles/quick-start.md If the InventorShims.dll is not in an Inventor external rules directory, reference it using its full path. This ensures Inventor can locate and load the DLL. ```vb AddReference "C:\Path\To\The\InventorShims.dll" Imports InventorShims ``` -------------------------------- ### EnumerateReferencedDocuments(AssemblyDocument) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.DocumentShim.html Returns an IEnumerable of referenced documents in an AssemblyDocument object. ```APIDOC ## EnumerateReferencedDocuments(AssemblyDocument) ### Description Returns an IEnumerable of referenced documents in an AssemblyDocument object. ### Method static IEnumerable ### Parameters #### Path Parameters - **document** (Inventor.AssemblyDocument) - Description: The AssemblyDocument object to enumerate. #### Returns - **System.Collections.Generic.IEnumerable** - Description: An enumerable collection of Document objects representing the referenced documents. ``` -------------------------------- ### EnumerateAllReferencedDocuments(PresentationDocument) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.DocumentShim.html Returns an IEnumerable of all referenced documents in a PresentationDocument object. ```APIDOC ## EnumerateAllReferencedDocuments(PresentationDocument) ### Description Returns an IEnumerable of all referenced documents in a PresentationDocument object. ### Method Extension Method ### Parameters #### Path Parameters - **document** (Inventor.PresentationDocument) - Required - The PresentationDocument to enumerate references from. ### Returns #### Success Response - **IEnumerable** - A collection of referenced documents. ``` -------------------------------- ### SetPropertyValue(AssemblyDocument, String, Object) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.PropertyShim.html Set the specified AssemblyDocument property's value. If the iproperty name exist it will set the value. If the name does not exist, it will add the property with the value you have specified in the "User Defined Properties" property set. This is the short-form signature. ```APIDOC ## SetPropertyValue(AssemblyDocument, String, Object) ### Description Set the specified AssemblyDocument property's value. If the iproperty name exist it will set the value. If the name does not exist, it will add the property with the value you have specified in the "User Defined Properties" property set. This is the short-form signature. ### Method static void ### Parameters #### Path Parameters - **document** (Inventor.AssemblyDocument) - Required - The AssemblyDocument to modify. - **propertyName** (System.String) - Required - Property Name as a string. - **value** (System.Object) - Required - Property value. ``` -------------------------------- ### SurfaceType Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Determines the method by which surfaces are imported. ```APIDOC ## SurfaceType ### Description Determines how surfaces will be imported. ### Property Value Type Description (Type information not fully specified in source, but likely related to surface import options) ``` -------------------------------- ### EnumerateParameters(PartDocument) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Enumerates all parameter objects within a given PartDocument. This method returns an IEnumerable collection of Parameter objects. ```APIDOC ## EnumerateParameters(PartDocument) ### Description Enumerate all parameter objects in a provided PartDocument object as IEnumerable{Parameter}. ### Method This is a static extension method. ### Endpoint N/A (SDK Method) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Parameters - **document** (Inventor.PartDocument) - The PartDocument to enumerate parameters from. ### Returns - **System.Collections.Generic.IEnumerable** - An enumerable collection of Parameter objects found in the document. ``` -------------------------------- ### Check Writable Parameter by Name (Document) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Tests if a parameter is writable by its name within a general Inventor Document. Only kModelParameters and kUserParameters return true. ```vb Dim answer As Boolean = ParameterIsWritable(oDoc, "ThisParameterName") ``` -------------------------------- ### ImportSurfaces Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Controls whether surface bodies are included during the STEP file import process. ```APIDOC ## ImportSurfaces ### Description Includes surface bodies in import. ### Declaration ```csharp public bool ImportSurfaces { get; set; } ``` ### Property Value Type Description System.Boolean ``` -------------------------------- ### IsPropertyNative(String) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.PropertyShim.html Checks if a given property name corresponds to one of Inventor's built-in iProperties. ```APIDOC ## IsPropertyNative(String) ### Description A simple static function that returns true if the specified property is one of Inventor's built-in iProperties. ### Method static bool ### Parameters #### Path Parameters - **name** (System.String) - Required - Property Name as a string. #### Returns - **Boolean** (System.Boolean) - Description ``` -------------------------------- ### Import Specific InventorShims Module in iLogic Source: https://github.com/inventorcode/inventorshims/blob/master/docfx/articles/quick-start.md Import only a specific module, such as iProperty, from the InventorShims API. This is useful for reducing the scope of imported functions. ```vb Imports InventorShims.iProperty ``` -------------------------------- ### EnumerateReferencingDocuments(DrawingDocument) Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.DocumentShim.html Returns an IEnumerable of referencing documents in a DrawingDocument object. ```APIDOC ## EnumerateReferencingDocuments(DrawingDocument) ### Description Returns an IEnumerable of referencing documents in a DrawingDocument object. ### Method Extension Method ### Parameters #### Path Parameters - **document** (Inventor.DrawingDocument) - The DrawingDocument to enumerate referencing documents from. ``` -------------------------------- ### Set Boolean Parameter Value Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.ParameterShim.html Sets the value of a boolean parameter, or creates one if it does not exist. Use this for true/false parameter values. ```vbnet SetParameterValue(oDrawingDoc, "ParameterName", true) ``` -------------------------------- ### EdgeSplitAndMerge Source: https://github.com/inventorcode/inventorshims/blob/master/docs/api/InventorShims.TranslatorShim.StepImporter.html Configures the importer to handle edge splitting and merging during STEP file import. ```APIDOC ## EdgeSplitAndMerge ### Description Controls the behavior of edge splitting and merging during STEP file import. ### Property - **EdgeSplitAndMerge** (System.Boolean) - Gets or sets a value indicating whether to enable edge split and merge. ```