Can I use fs for this?
coleman
OS Professional Posts: 244 ✭✭✭
Can I use feature scrip to create a "cross hair" sketch entity (as construction lines)?
I find myself creating a vertical line and a horizontal construction line for mirroring quite often. It would be nice to just have "cross hair" sketch entity that would place the two lines for me.
Is this possible with feature scripting? Basically just a small plus sign (construction geometry) placed where I click.
Thanks
I find myself creating a vertical line and a horizontal construction line for mirroring quite often. It would be nice to just have "cross hair" sketch entity that would place the two lines for me.
Is this possible with feature scripting? Basically just a small plus sign (construction geometry) placed where I click.
Thanks
0
Answers
-
Yup! Easy to do, actually. Accepts a query parameter filtering on EntityType.VERTEX, and another query asking for EntityType.FACE (for the sketch plane). Could optionally request a distance parameter for the size of the crosshair. It would then create a plane centered on the vertex parallel to the plane, create a sketch, and draw the two construction lines. Easy peasy.0
