Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic -> copy to flat pattern

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
d182284
894 Views, 6 Replies

iLogic -> copy to flat pattern

Hello everybody,

 

I'm looking for a way to get the option "copy to flat pattern" automated in iLogic. Is this possible? If yes, how? 

 

Thanks!

Stan

6 REPLIES 6
Message 2 of 7
d182284
in reply to: d182284

bump
Message 3 of 7
johnsonshiue
in reply to: d182284

Hi! I am not sure if iLogic has direct call to do that. But, here is the Inventor API.

 

PlanarSketch.CopyToFlatPattern() As Boolean

 

If you set it to True, the sketch will be copied to flat.

Thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 4 of 7
d182284
in reply to: johnsonshiue

Thank you! Sorry but I'm really not familiar with API. Could you exactly tell me how I should link it to a sketch and then activate it?
Message 5 of 7
d182284
in reply to: d182284

I'm sorry to bump but i couldn't find a edit button. I've got this, am I getting close or not at all? Dim oSketch As PlanarSketch oSketch = ThisApplication.ActiveEditObject PlanarSketch.CopyToFlatPattern("Gravering") = True
Message 6 of 7
d182284
in reply to: d182284

bump
Message 7 of 7
d182284
in reply to: d182284

I'll post it in the customization folder and hope i get more luck there. I actually didn't notice i posted this in the general disucssion forums, sorry for that.

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

Post to forums  

Autodesk Design & Make Report