Hello guys,
I would like to ask the following question:
How can you use the mirror feature in a sketch using Inventor VBA?
Although I am able to mirror a part feature (e.g. an extrude or a hole), I am not able to mirror -for example- a line within a sketch.
Thank you for your time,
Hi,
Unfortunately there isn't a direct way to mirror sketch objects. We have a wish #1286344.
You would need to calculate the 2d reflection matrix coefficients by an algorithm of your own and use method such as Matrix2d.PutMatrixData to fill up an Inventor Matrix2d. You can then use it to transform the required inputs to create a new mirrored sketch entity, e.g. mirror start/end points of the line, center/start/end of the arcs
You can easily find documentation about reflection matrices on the web. Here are some examples, do not take it as references:
http://planetmath.org/encyclopedia/DerivationOf2DReflectionMatrix.html
http://en.wikipedia.org/wiki/Transformation_matrix
Having exactly the same question. Any solution or workaround in the meantime?
Cheers!