The main idea used has been covered
here, but here is the functionality needed and have heard of people doing it in Lisp but I get scared and confused after the 5th or 6th paraenthess.
Thanks to Stephan and gile in link above for using their ideas
Maybe the best way would be to explain the end result and the way I thought about going about it and probably a way through the UI as MEP offers it.
Trying to provide the same functionality that MEP does for text in blocks used for views by checking "Keep text horizantol while rotating" for inserting blocks with text for Vanilla AutoCAD. So I do not care if it is text, attribute, or ploylines as long as it does bloat drawing, but I guess to point out it in the end it is just text and does not need any functionality that attributes offer, but seemed easier to use for intial idea.
I need it to be persistent in-house. Once it leaves our hands and as long as they are rotated correctly when a drawing is opened the very first time is all it needs. Once opened outside of office all bets are off and if they rotate the blocks then they can manually rotate the attributes themselves.
So basiclly the rotation set before an Save.
To put in easiest form possible "I want to insert blocks with text and the text stay right side up when rotated so it is readable. I could use attributes but have to manully rotate them and could use text seperate from block but would be nice if they were together(just made me think of a group).
A receptacle symbol with GFI text would be a good example of one used.
So my intial idea was let the user decide which ones to keep horizontol by running a command while defining block or editting in block editor by selecting an AttributeDefinition. All the command does is attached some Xdata.
To cover all the bases, like grip editing I could do a drawable overrule for AttributeReferences with Xdata filter.
To keep it persistent in the Database.BeginSave Event add a ObjectOverrule with same xdata filter and update objects in open override to match state, and then in the Database.SaveComplete Event I could remove the ObjectOverrule.
Any ideas or comments.
The end result is just inserting blocks with text(not going to say