Kenja824
Automotive
- Nov 5, 2014
- 958
I know it is easy to add an appended text to a dimension, but when you get a lot of them, it becomes annoying. So I used to have macros where you could select a dimnsion, click an icon, and it would automatically add the appended text below the dimension. I had one for each note. (REF, START, TYP, etc...)
Unfortunately those macros are not working anymore and I am trying to do this with Journal now. (Journal is attached.)
The problems I have run into is...
1) It only worked on the same kind of dimensions. I believe I fixed this by removing the "Vertical" out of the code here ....
appendedTextEditorBuilder1 = workPart.Dimensions.CreateAppendedTextEditorBuilder(CType(theUI.SelectionManager.GetSelectedObject(0), Annotations.VerticalDimension))
2) After the journal plays back, it leaves the dimension that it added the Appended Text to hi-lighted and I manually have to hit the escape button to de-select it.
My QUESTIONS..... Can I add something to the code to force it to automatically de-select the dimension? AND is there a way to make this work for selecting multiple dimensions to add the appended text to in one swoop?
Clarification.... Right now I have it set up that I select the dimension, then run the Journal. I would prefer to keep it this way, but if I have to change it to where the journal tells me to select which dimensions to add the attribute to, that would be fine. Though I have not found a way to have User commands in the middle of the journal playback like in Macros.
Unfortunately those macros are not working anymore and I am trying to do this with Journal now. (Journal is attached.)
The problems I have run into is...
1) It only worked on the same kind of dimensions. I believe I fixed this by removing the "Vertical" out of the code here ....
appendedTextEditorBuilder1 = workPart.Dimensions.CreateAppendedTextEditorBuilder(CType(theUI.SelectionManager.GetSelectedObject(0), Annotations.VerticalDimension))
2) After the journal plays back, it leaves the dimension that it added the Appended Text to hi-lighted and I manually have to hit the escape button to de-select it.
My QUESTIONS..... Can I add something to the code to force it to automatically de-select the dimension? AND is there a way to make this work for selecting multiple dimensions to add the appended text to in one swoop?
Clarification.... Right now I have it set up that I select the dimension, then run the Journal. I would prefer to keep it this way, but if I have to change it to where the journal tells me to select which dimensions to add the attribute to, that would be fine. Though I have not found a way to have User commands in the middle of the journal playback like in Macros.