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 get dimensions of a Block

1 REPLY 1
Reply
Message 1 of 2
ArjanDijk
201 Views, 1 Reply

How to get dimensions of a Block

I wrote some code to insert a block with:

doc.ComponentDefinition.SketchBlockDefinitions("nk")

to insert block "nk". How can I get the Width and the Height of this block?


Inventor HSM and Fusion 360 CAM trainer and postprocessor builder in the Netherlands and Belgium.


1 REPLY 1
Message 2 of 2
ArjanDijk
in reply to: ArjanDijk

I solved the problem by inserting the block in a sketch and with Rangebox.maxpoint I get an idea about the dimensions of the piece.


Inventor HSM and Fusion 360 CAM trainer and postprocessor builder in the Netherlands and Belgium.


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

Post to forums  

Autodesk Design & Make Report