DRAWING VIEW LABLE - ILOGIC

DRAWING VIEW LABLE - ILOGIC

nathan.busteed
Participant Participant
316 Views
4 Replies
Message 1 of 5

DRAWING VIEW LABLE - ILOGIC

nathan.busteed
Participant
Participant

Hi,

I have very little experience in coding and iLogic, and since I haven't been able to find what I' after in the forums, I'm hoping someone here may be able to help point me in the right direction!

 

When detailing items, we typically have multiple parts per sheet, hundreds of parts per sheet set, and require the item view label to look as shown below for members and plates.

nathanbusteed_0-1717017411415.png

nathanbusteed_2-1717018149375.png

 

 

To attain this we input the following into the view label for members:

nathanbusteed_1-1717018060059.png

 

And the following for plates and sheet metal:

nathanbusteed_3-1717018420186.png

 

As you could imagine, inputting this information for each and every part is very inefficient.

We'd hope that in the future AutoDesk would add the ability to vary label styles using the dropdown box in the format tab, so the drafter could have some preset label views with one or two to suit Assemblies and two or three to suit Part details

  

nathanbusteed_4-1717018793896.png

 

Is this something that a couple of iLogic programs could address?

 

Many thanks!

 

 

 

 

 

0 Likes
317 Views
4 Replies
Replies (4)
Message 2 of 5

A.Acheson
Mentor
Mentor

Hi @nathan.busteed 

The object for this is formatted text and here is a help page to help in setting them up. 

 

And here is an example of extracting formatted text from an existing label so you can use it for another label creation. 

Dim drawView As DrawingView = ThisApplication.CommandManager.Pick(
                       				SelectionFilterEnum.kDrawingViewFilter, 
                       				"Select a drawing view")				   
Dim formattedText As String = drawView.Label.FormattedText 

Logger.Info(formattedText)

'Set the formatted text, alter as needed. 
'drawView.Label.FormattedText = formattedText

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 3 of 5

A.Acheson
Mentor
Mentor

Hi @nathan.busteed 

The object for this is formatted text and here is a help page to help in setting them up. 

And here is an example of extracting formatted text from an existing label so you can use it for another label creation. 

Dim drawView As DrawingView = ThisApplication.CommandManager.Pick(
                       				SelectionFilterEnum.kDrawingViewFilter, 
                       				"Select a drawing view")				   
Dim formattedText As String = drawView.Label.FormattedText 

Logger.Info(formattedText)

'Set the formatted text, alter as needed. 
'drawView.Label.FormattedText = formattedText

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 4 of 5

A.Acheson
Mentor
Mentor

Hi @nathan.busteed 

The object for this is formatted text and here is a help page to help in setting them up. 

And here is an example of extracting formatted text from an existing label so you can use it for another label creation. 

 

Dim drawView As DrawingView = ThisApplication.CommandManager.Pick(
                       				SelectionFilterEnum.kDrawingViewFilter, 
                       				"Select a drawing view")				   
Dim formattedText As String = drawView.Label.FormattedText 

Logger.Info(formattedText)

'Set the formatted text, alter as needed. 
'drawView.Label.FormattedText = formattedText

 

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 5 of 5

A.Acheson
Mentor
Mentor

Hi @nathan.busteed 

The object for this is formatted text and here is a help page to help in setting them up. 

And here is an example of extracting formatted text from an existing label so you can use it for another label creation. 

 

 

Dim drawView As DrawingView = ThisApplication.CommandManager.Pick(
                       				SelectionFilterEnum.kDrawingViewFilter, 
                       				"Select a drawing view")				   
Dim formattedText As String = drawView.Label.FormattedText 

Logger.Info(formattedText)

'Set the formatted text, alter as needed. 
'drawView.Label.FormattedText = formattedText

 

 

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes