Named Entities & Attributes in Inventor 2019

A few of my favorite new features in / additions to Inventor 2019 is the Assign Name command and using those assigned names in Constraints.

I’ve been using attributes for many years in order to “get” geometry that’s required, whether it be for the purposes of constraining, adding annotations to drawings, or just finding a specific feature. 

The Assign Names command creates attribute sets and attributes with specific names.  The AttributeSet is named “iLogicEntityNameSet” and the attribute is named “iLogicEntityName” with the value being whatever you name the entity.  See example below:

 

Attribute Names

I was curious how attributes that were created either programmatically or with AttributeHelper would interact with the new functions.

A few things to notice about attributes that are created either programmatically or with AttributeHelper:

·         If named properly (see above), these attributes will show up in the graphics window (you may have to hide and unhide labels)

·         By default, these attributes will not show in the Geometry Tab of the iLogic Browser Panel.  If you rename it by using the right mouse click Edit Name, it will show in the Geometry Tab.

Attributes that are created either programmatically or with AttributeHelper can be used in the new 2019 Relationships (Add) snippets, as long as they are named as per above.

Thanks and Happy Coding!

Randy

About the Author

Randall Mabery

I love the technology, thoroughly enjoy helping people find solutions and believe in the software. I train individuals in the use of Autodesk design software such as Inventor and AutoCAD. The most satisfying part of my job is working on automation solutions for clients, assisting them in streamlining their design process and automating tasks.

Follow on Linkedin More Content by Randall Mabery
Previous Article
AutoCAD:  Heidi Module Load Error: “Error Loading Heidi Module – C:\Programs Files\Autodesk\AutoCAD 2022\DRV\\acaddm16.hdi”
AutoCAD: Heidi Module Load Error: “Error Loading Heidi Module – C:\Programs Files\Autodesk\AutoCAD 2022\DRV\\acaddm16.hdi”

This error indicates that either your Video Card and/or Video Card driver does not support DirectX 12. This...

Next Article
“Error 15 The installation couldn’t finish.” when installing Revit 2022
“Error 15 The installation couldn’t finish.” when installing Revit 2022

When you get an Install error: Error 15 The installation couldn’t finish. When installing Revit 2022

Need tech support? Let us help!

Learn More