Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to link part model values to drawing description using iLogic codes

1 REPLY 1
Reply
Message 1 of 2
ped20
267 Views, 1 Reply

How to link part model values to drawing description using iLogic codes

 Hello Folks 

 

Greetings from Kiran 

 

Please find image attached, in this drawing template i am modelled a plate that is having this finish size

 

Please tell me how write a code in iproperteis Stock string to fetch length, width, thickness parameters 

 

That in to this Raw material & Size box part22.JPG

Did you find this reply helpful ? If so, use the Mark Solutions! Accept as Solution or Give Kudos!Kudos - Thank you!
Tags (2)
1 REPLY 1
Message 2 of 2
RodrigoEiras
in reply to: ped20

 

I think this is what you are looking for:

 

https://forums.autodesk.com/autodesk/attachments/autodesk/78/421283/1/Custom%20Parameter%20Formattin...

 

Otherwise if you want to do it using iLogic you can find attached some example code use to edit some properties of parts in an assembly:

 

SyntaxEditor Code Snippet

    iProperties.Value("Pipe.ipt", "Project", "Description")=  Parameter("Part1_MltBdy:1", "NZ1Size") & Chr(34) & " PIPE SCH." & Parameter("Part1_MltBdy:1", "NZ1SCH")
'    iProperties.Value("Pipe.ipt", "Custom", "DRAWING_TYPE")=  "
    iProperties.Value("Pipe.ipt", "Custom", "MATGRADE")= "A-106-B (hot finished)"

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report