hi
I'm trying to make IF for Circle radius.
I wanna when my line length is more than 5 it use 5 for circle radius and when it is less than 5 it use line length.
I have problem in IF.
Hi,
Can you share some screenshots to illustrate your problem?
Answer Verified By: ehsan mokhtari
here an example with a circle by function. pt = center point; pl = support plane db = line length
if (line1.Length*.02>8){ circle1.ByCenterRadius(point1,8,baseCS.XYPlane)}else{ circle1.ByCenterRadius(point1,line1.Length*.02,baseCS.XYPlane)}
what is the problem here ???
looks like these values expects a double not a statement.
please use a function call to generate the Value needed for Radius (allows you also to visualize the actual value)