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: 

Imports sheet metall rule from ilogic

1 REPLY 1
SOLVED
Reply
Message 1 of 2
niksasa
391 Views, 1 Reply

Imports sheet metall rule from ilogic

Is this possible in ilogits?

 

Безымянный16.JPG

САПР - это инструмент, но только при условии грамотного подхода.
1 REPLY 1
Message 2 of 2
Vladimir.Ananyev
in reply to: niksasa

 the answer from Aleksey Romanov

 

Try
   fSt = ThisDoc.Document.ComponentDefinition.SheetMetalStyles("myStyle")
Catch
   fSt = ThisDoc.Document.ComponentDefinition.SheetMetalStyles("По умолчанию")
   fSt = fSt.Copy("myStyle")
   'настраиваем стиль
   fSt.Thickness = "3 мм"
   'и т.д.
End Try

Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

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

Post to forums  

Autodesk Design & Make Report