Accessing iProperties through iLogic code

By Chandra shekar Gopal

iProperty is a set of attributes for each Inventor file such as part number, description and physical material. You can also create custom iProperties.

From each document you can access its associated iProperties. iProperties are used to track and manage files, create reports, and automatically update assembly bills of materials, drawing parts lists, title blocks, and other information.

For more details on importance and structure of iProperties, you can refer this link. Now, many people used to ask iLogic code to access iPropeties. Below table gives list of iProperties and respective iLogic code.

Inventor Summary Information 
Property Name Type iLogic code
Author String iProperties.Value("Summary", "Author")
Comments String iProperties.Value("Summary", "Comments“)
Keywords String iProperties.Value("Summary", "Keywords")
Last Saved By String iProperties.Value("Summary", "Last Saved By")
Thumbnail IPictureDisp iProperties.Value("Summary", "Thumbnail")
Revision Number String iProperties.Value("Summary", "Revision Number")
Subject String iProperties.Value("Summary", "Subject")
Title String iProperties.Value("Summary", "Title")
Inventor Document Summary Information
Property Name Type iLogic code
Category String iProperties.Value("Summary", "Category")
Company String iProperties.Value("Summary", "Company“)
Manager String iProperties.Value("Summary", "Manager")
Design Tracking Properties
Property Name Type iLogic code
Authority String iProperties.Value("Project", "Authority")
Catalog Web Link String iProperties.Value("Project", "Catalog Web Link")
Categories String iProperties.Value("Project", "Categories")
Checked By String iProperties.Value("Project", "Checked By")
Cost Currency iProperties.Value("Project", "Cost")
Cost Center String iProperties.Value("Project", "Cost Center")
Creation Time Date iProperties.Value("Project", "Creation Time")
Date Checked Date iProperties.Value("Project", "Date Checked")
Defer Updates Boolean iProperties.Value("Project", "Defer Updates")
Description String iProperties.Value("Project", "Description")
Design Status Long iProperties.Value("Project", "Design Status")
Designer String iProperties.Value("Project", "Designer")
Document SubType String iProperties.Value("Project", " Document SubType")
Document SubType Name String iProperties.Value("Project", " Document SubType Name")
Engineer String iProperties.Value("Project", "Engineer")
Engr Approved By String iProperties.Value("Project", "Engr Approved By")
Engr Date Approved Date iProperties.Value("Project", "Engr Date Approved")
External Property Revision Id String iProperties.Value("Project", "External Property Revision Id")
Language String iProperties.Value("Project", "Language")
Manufacturer String iProperties.Value("Project", "Manufacturer")
Material String iProperties.Value("Project", "Material")
Mfg Approved By String iProperties.Value("Project", "Mfg Approved By")
Mfg Date Approved Date iProperties.Value("Project", "Mfg Date Approved")
Parameterized Template Boolean iProperties.Value("Project", "Parameterized Template")
Part Icon IPictureDisp iProperties.Value("Project", "Part Icon")
Part Number String iProperties.Value("Project", "Part Number")
Part Property Revision Id String iProperties.Value("Project", "Part Property Revision Id")
Project String iProperties.Value("Project", "Project")
Proxy Refresh Date Date iProperties.Value("Project", "Proxy Refresh Date")
Size Designation String iProperties.Value("Project", "Size Designation")
Standard String iProperties.Value("Project", "Standard")
Standard Revision String iProperties.Value("Project", "Standard Revision")
Standards Organization String iProperties.Value("Project", "Standard Organization")
Stock Number String iProperties.Value("Project", "Stock Number")
Template Row String iProperties.Value("Project", "Template Row")
User Status String iProperties.Value("Project", "User Status")
Vendor String iProperties.Value("Project", "Vendor")
Weld Material String iProperties.Value("Project", "Weld Material")

 


Comments

4 responses to “Accessing iProperties through iLogic code”

  1. https://github.com/H-Ashrafi/InventorToolBox
    i wrote a library to make it easier
    ConnectToInventor();
    var propetyManager = (iPropertiesManager)GetManager(kManagerTypes.iProperties);
    propetyManager.SetCustomProperty(ActiveDocument, “MycustomPropert”, 10);

  2. Thanks Chandra, I’ve just started to delve into iLogic and your list of iProperties has just shown me where to find the property I’ve been looking for. Obvious once you find it but frustrating when you cannot.
    Much appreciated Jim G

  3. How to interact with Physical iProp category?

  4. Chandra shekar Gopal Avatar
    Chandra shekar Gopal

    Hi SAF,
    In the below blog link, there is a sample to retrieve physical properties (mass) of document.
    https://adndevblog.typepad.com/manufacturing/2012/08/update-iproperty-physical-properties.html
    Thanks and regards,
    Chandra shekar G

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading