Is it possible to input mathematical expression in SW?

Greetings:
I am wondering if it is possible to input a trigonometry function such
as ATAN (X), ACOS(X), ASIN(X) ETC into the Linear Step & Repeat Angle
box under Sketch Tools - Linear step & repeat - Direction 1 &
Direction 2. If not how can you input the exact value of the angle
knowing only the horizontal and vertical dimension of the two lines
forming the driven direction? I can always sketch the driven
direction line, dimension it horizontally and vertically to obtain the
exact shape, delete one dimension (either horizontally or vertically),
dimension the angle, copy and paste the value in the angle box. Is
there a better way of doing this?
Your suggestion and help is greatly appreciated.
Reply to
John
Loading thread data ...
Equations in SW use VB syntax and functions. Some trig functions and all the inverse trig (IIRC) are not directly implemented as VB functions. You'll have to use trig identites to simulate them in your equations. There is a table of equations to use for this somewhere in the VB help. Open the macro editor, and go to the help there. Search for one of the missing funtions, and you should be able to find the table.
Reply to
Dale Dunn
Yes, using the SW API would be easiest.
Best Regards,
-- Bob Hanson Centare Group, Ltd. - Custom Software and Systems Integration Specialists
formatting link

Reply to
Robert Hanson
Set them into a design table: Excel will let you use this.
Reply to
rocheey

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.