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: 

K-Factor note on drawing using iLogic

2 REPLIES 2
Reply
Message 1 of 3
Greatwhitenorth
1109 Views, 2 Replies

K-Factor note on drawing using iLogic

All,

 

I'm wondering if anyone knows a way, using iLogic, to get the K-Factor from a flat pattern sheet metal view on an idw drawing and add it as a note.

 

I'd like a rule that would access the flat pattern on the drawing, get the K-Factor value and then create a note that says, for example, "K-Factor Value = 44".

 

I see in the iLogic Snippets there's a Get Active KFactor under the Sheet Metal section, but I don't know where to start.

 

Any help is appreciated.

 

Thanks in advance.

 

Bob

____________________________________________________
Product Design & Manufacturing Collection 2021 | Vault Professional 2021
Dell Precision 7670 | Intel i7-12850HX - 2100 Mhz - 64GB
nVIDIA RTX A3000 12GB | Windows 10/64 Pro
2 REPLIES 2
Message 2 of 3

create a user parameter in the sheetmetal part lets call it mykfactor

it must be  ul (unitless)

create a ilogic rule

mykfactor = Sheetmetal.ActiveKFactor

 

so now that you have a user parameter with the active k factor value simply create a note on the idw and insert the user parameter into the note

 

 

Inventor 2010 Certified Professional
Message 3 of 3

Thanks swordmaster.  Sorry, but I should have stated in my original post that I would like to do this without modifying the .ipt files.  I was hoping there was a way to just read the value from the flat pattern.

____________________________________________________
Product Design & Manufacturing Collection 2021 | Vault Professional 2021
Dell Precision 7670 | Intel i7-12850HX - 2100 Mhz - 64GB
nVIDIA RTX A3000 12GB | Windows 10/64 Pro

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

Post to forums  

Autodesk Design & Make Report