![]() #BEND NOTE DOWN TO ANOTHER NOTE STUDIO ONE CODE#Hi The code I posted was just to help you see all the hidden code contents behind the note, to give you a better idea of how Inventor keeps the text shown accurate and linked to the model. MsgBox("oBNote.Text = " & oBNote.Text,"")Ī = InputBox("", "FormattedBendNote", oFBNote)Ī = InputBox("", "FormattedText", oFText) Then the third one is the FormattedText contents, also using an InputBox, so that it will be select-able and copy-able. The second one shows you the FormattedBendNote contents using an InputBox, so you can copy the contents to a text file if you want, to better inspect it. The first one is the plain text, as it is seen on your drawing. ![]() To give you some idea of what all is actually included in that, here is an iLogic rule that will find the first BendNote on the 'active' sheet of the drawing, then show you the 3 different contents in it. In order to add the extra text into the bend note, in the location you are indicating, you will need to put it into the BendNote.FormattedBendNote, which is one of those with the XML tags in it. However, there are 3 different ways to check the 'contents' (a String) of that BendNote, and two of those returned Strings will include XML tag codes, which further complicates things. To add that extra optional text in there, you will need some code to get the BendNote object in your DrawingView, then you will need to check its contents, and be able to isolate just that angle part if the information, so you can check/compare it. However, you can't use anything like a If.Then statements in there for including the extra "(OPEN)" or "(CLOSED)" text you want. Here is where you can dictate which pieces of information should always be present, and in what order, and any other characters or special characters you may want to include. Now click on the Bend Notes icon just above the Note Format text box. Now click on the 'Notes and Leaders' tab on the right part of the screen. ![]() Then select the specific dimension style you were using when you created that bend note. On the Manage tab of the open/active drawing, click on the Styles Editor tool, to open up the main Style and Standard Editor dialog. First of all, the default information shown by the bend line, is dictated by some settings within a dimension style. There is a lot of stuff going on behind the scenes of that fairly simple looking bend note on the drawing. Hi This is likely going to be pretty challenging to achieve. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |