Read SketchBlock Description
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
It is recomended to use Blocks when building a skeletal 3Dmodel and alike parts.
During Block creation user can fill values of the two textual properties (Name and Description).
AFAIK one of generic Inventor principles is parametrization which means all values user sets he/she can change later.
But I don't see how to edit (or at least read) those two block property values through UI after user closes the "Create Block" dialog window.
I've found that Name is available through API like this:
MsgBox(ThisDoc.Document.ComponentDefinition.SketchBlockDefinitions(1).Name)
But I don't see how to get the value of the Description (the only property mentioned in API help I think may have a relation to it is AttributeSets, but all blocks I've created return 0 as AttributeSets.Count).
How can I read the Block Description value?
Please vote for Inventor-Idea Text Search within Option Names