iLogic code to add custom iProperty to base view label text

iLogic code to add custom iProperty to base view label text

schleede.dave
Enthusiast Enthusiast
744 Views
2 Replies
Message 1 of 3

iLogic code to add custom iProperty to base view label text

schleede.dave
Enthusiast
Enthusiast

 

I'm trying to create an ilogic code that will add a custom iProperty to the base view label only.  I've found several ilogic codes that will add custom iProperties to all view labels but none that edit the base view label only.  Is this possible?  Ultimitely I want a view label that looks like the image shown below.

 

For reference these are a couple of the other threads/posts I've taken code from:

 

http://forums.autodesk.com/t5/inventor-customization/ilogic-code-to-change-view-label-text/td-p/3625...

http://forums.autodesk.com/t5/inventor-customization/custom-user-properties-in-view-label-of-drawing...

 

 

002.PNG

 

 

 

0 Likes
745 Views
2 Replies
Replies (2)
Message 2 of 3

rhasell
Advisor
Advisor

Hi

 

Have a look here, together with Adrian and I we have created some nifty code.

Have a look and see if it solves your problem.

If it does not help/does not make any sense, I will extract the individual sections which are applicable to you.

 

http://blog.ads-sol.com/2016/02/item-number-on-drawing-views-reg-hasell.html

 

Areas to look at are the Label formats of Single and Mirror plan views.

They both use a custom label as well as a quantity field extracted from the assembly or part.

 

 

plan view label.JPG

Reg
2026.1
Message 3 of 3

schleede.dave
Enthusiast
Enthusiast

That helps.  I haven't completed my code yet but I think you've given me the info I needed to get it working.  Thank you!