Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
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: 

SCALE SKETCH BLOCK

2 REPLIES 2
Reply
Message 1 of 3
Luis_Pacheco_3D
229 Views, 2 Replies

SCALE SKETCH BLOCK

Hello everybody, it´s possible to scale a sketch block through ilogic?

 

 

Luis_Pacheco_3D_1-1688046382652.png

 

2 REPLIES 2
Message 2 of 3

Hi,

 

Sure you can. Here is a small code that let you pick a sketched symbol by hand and scale it to 2 :

 

Dim s As Inventor.SketchedSymbol 
s = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kDrawingSketchedSymbolFilter, "Pick a sketch Symbol")
s.Scale = 2 

 If this solved the problem, please mark this post as solution !

 

Kind regards,

FINET L.

If this post solved your question, please kindly mark it as "Solution"

If this post helped out in any way to solve your question, please drop a "Like"

@LinkedIn     @JohnCockerill

Message 3 of 3

Thanks for the response, but I refer to these types of blocks.

 

Luis_Pacheco_3D_0-1688050387974.png

 

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

Post to forums  

Autodesk Design & Make Report