@RogerD wrote:
Hi
I am re visiting some old scripts and as you can see below I used to add a point in World co ordinates in the following fashion pulling Dim 1 from an ini file
pt2 = "Point" & " " pt2 = pt2 & "w" & Dim1 & ",0,0" & " " pt2 = pt2 & "Enter" & " " Rhino.Command pt2 pt2ID = Rhino.FirstObject arr2 = Rhino.PointCoordinates(pt2ID)
However if I now use the current scripting command Rhino.AddPoint as below
pt1 = Rhino.Str2Pt("0," & Dim1 & ",0") Rhino.AddPoint pt1
how do I force Rhino to use World Co Ordinates and not Cplane Co ordinates ? it’s probably very simple but it has been one of those days.
Posts: 2
Participants: 2