- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi @andrew_canfield. The good news is that there are methods in the Inventor API for doing this. The AutoCADBlock object has two methods, one called "GetPromptTextValues", and one called "SetPromptTextValues". These are the things that are called the 'Attributes' of the block in AutoCAD. There are two variables involved in those two methods, and both variables are an array of String (String()). On the Get side, you need to create the two variables of that type ahead of time, then supply them as input variables to the method, then run that method, then it fills in those two variables with the names and values. On the Set side, you create these two variables ahead of time, fill them yourself, then put them in as input variables in the corresponding method and run it, and it puts those values in place for the names given. If you still need more help writing the code for this, just let us know.
If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click (LIKE or KUDOS)
.
If you want and have time, I would appreciate your Vote(s) for My IDEAS
or you can Explore My CONTRIBUTIONS
Wesley Crihfield
(Not an Autodesk Employee)