AnsweredAssumed Answered

How to define the dimension parallel to the selected edge?

Question asked by Voverrr Mironoff on Sep 1, 2018


I try to build the macro for changing the grain direction in wood material, mainly rectangular.

In the template I have two dimensions: "length of texture" and "width of texture". I want to select the edge and run the macro.

Macro by steps:

1. Define the directions of selected edge(X or Y). In my case it's X.

2. From these two dimentions define the dimension along the X.

3. Rename this dimension to "Length of texture".

4. Rename other dimention to "Width of texture".


so my questions:

how to define the direction of selected edge - X or Y?

how to define the dimension along the X?


Thank you. Sorry for  my barbarian English.