Message 1 of 9
Using a macro to get angle of line

Not applicable
01-23-2017
01:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
add Line "1" line with name 1 was created befor
LET x = line[1].?????? which command to get the angle
LET a = $x*2
MODIFY
APPARENT $a
ACCEPT
I found command for curve but i need for line
compcurve[name].point[name].entry_tangent.azimuth
or why don't work command add line"1" in next macros (line with name 1 was created befor):
INPUT POINT 'Position of centre' $cenpos1
create workplane SINGLE
POSITION
X $cenpos1_x
Y $cenpos1_y
Z $cenpos1_z
ACCEPT
MODIFY
XAXIS DIRECTION
add line"1" I have to use command : input free , and select the line by myself, it is not very good for me
ACCEPT
ACCEPT