iLOGIC Drawing View Label Code Edit "HELP"

iLOGIC Drawing View Label Code Edit "HELP"

Anonymous
Not applicable
1,169 Views
9 Replies
Message 1 of 10

iLOGIC Drawing View Label Code Edit "HELP"

Anonymous
Not applicable
First off, can anyone tell me how to "show" the text edit boxes and code insert boxes on this forum? I have no "BOLD, ITALIC, UNDERLINE, COLOR, SIZE, FONT" or any of the other options. My add attachment doesn't even work in here. I have tried to post code before and it gets jumbled as text in a regular box.
0 Likes
1,170 Views
9 Replies
Replies (9)
Message 2 of 10

Anonymous
Not applicable
My RICH TEXT EDITOR isn't working so I cannot show my code in this forum.
0 Likes
Message 3 of 10

Curtis_Waguespack
Consultant
Consultant

@Anonymous wrote:
My RICH TEXT EDITOR isn't working so I cannot show my code in this forum.

Hi PhilLindsay4781,

 

Try a different browser. If you're using Internet Explorer try Google Chrome, etc.

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

EESignature

0 Likes
Message 4 of 10

Anonymous
Not applicable
Changing the browser doesn't work.
0 Likes
Message 5 of 10

Curtis_Waguespack
Consultant
Consultant

@Anonymous wrote:
Changing the browser doesn't work.

Hi PhilLindsay4781,

 

You might ask for help resolving the issues with the Rich Text editor on this forum:

http://forums.autodesk.com/t5/community-feedback/bd-p/3011

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 

 

EESignature

0 Likes
Message 6 of 10

Anonymous
Not applicable
Can you email me? Lindsay, Phil (phil.lindsay@edwardsvacuum.com)
0 Likes
Message 7 of 10

Curtis_Waguespack
Consultant
Consultant

@Anonymous wrote:
Can you email me?

No sorry, I prefer to keep correspondence limited to here on the forum. Just my preference, nothing personal.

EESignature

0 Likes
Message 8 of 10

Anonymous
Not applicable
Can any one help me with uploading code another way? Or even pictures? I cannot do those either.
0 Likes
Message 9 of 10

Curtis_Waguespack
Consultant
Consultant

@Anonymous wrote:
Can any one help me with uploading code another way? Or even pictures? I cannot do those either.

As I mentioned before, the proper place for resolving the issues with the Rich Text editor and image posting issues is on the community feedback forum:

http://forums.autodesk.com/t5/community-feedback/bd-p/3011

 

You'll need to post some details about the problem so that someone can assist (what browsers you've tried, what OS you're using, etc)

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

EESignature

0 Likes
Message 10 of 10

Anonymous
Not applicable

I was finally able to get the text editor fixed by IT.

Please see the attached coding.

Dim oSSet As SelectSet = ThisDoc.Document.SelectSet
If oSSet.count = 0 Then
MessageBox.Show("You must select a drawing view first", "iLogic")
Exit Sub
End If
'Reference to the drawing view from the 1st selected object
Dim oView As DrawingView = trycast(oSSet.item(1), DrawingView)
If oView IsNot Nothing Then
oView.ShowLabel = True
'format the model iproperties
oDescription = "<StyleOverride Underline='True'><Property Document='model' PropertySet='Design Tracking Properties' Property='Description' FormatID='{32853F0F-3444-11D1-9E93-0060B03C1CA6}' PropertyID='29'>DESCRIPTION</Property></StyleOverride>"
'oViewIdentifier = "<Br/><StyleOverride Underline='True'> 
oPartNumber = "<Br/><StyleOverride Underline='True'><Property Document='model' PropertySet='Design Tracking Properties' Property='Part Number' FormatID='{32853F0F-3444-11D1-9E93-0060B03C1CA6}' PropertyID='5'>PART NUMBER</Property></StyleOverride>"
oStringMass = "<Br/><StyleOverride Underline='False' FontSize='0.35'>EST UNIT MASS =<PhysicalProperty PhysicalPropertyID='72449' Precision='2'>MASS</PhysicalProperty></StyleOverride>"
oStringScale = "<Br/><StyleOverride FontSize='0.3'>Scale<DrawingViewScale/></StyleOverride>"
'add to the view label
oView.Label.FormattedText = oDescription & oViewIdentifier & oPartNumber & oStringMass & oStringScale
Else
MessageBox.Show("The selected object is not a drawing view", "iLogic")
End If

 

The first thing im trying to accomplish is to include the "View Identifier" in the code, see attached picture.

I have commented out that line above.

Then the second thing, I would like this to run for all views on the page with one single execution.

0 Likes