Author Topic: <OriginalPointOrder parameter fails  (Read 2185 times)

bdeck

  • Hero Member
  • *****
  • Posts: 815
<OriginalPointOrder parameter fails
« on: March 01, 2009, 07:22:31 PM »
The "<OriginalPointOrder" parameter as shown below fails in DC versions 17.2-19.0.

Please advise the correct syntax

Code: [Select]
dim xp(100), yp(100), zp(100)

gosub stationselect


>SurfaceConnect
{

for n=1 to nstns
<pointxyz [xp(n),yp(n),zp(n)]
next n
<Type 2
<NSurf [divs]
<NBreak 11
<OriginalPointOrder 1           ' this line does not work
}


end


stationselect:

        input " input number of divisions along defining curves ( 0 - 99 ) ", divs

  Setpoint "Set a point on each defining curve", 100

nstns=sys(1)
 
for i=1 to nstns
Pointval xp(i), yp(i), zp(i), i
next i
return



DrollTroll

  • Kindly Curmudgeon
  • Administrator
  • *****
  • Posts: 4152
Re: <OriginalPointOrder parameter fails
« Reply #1 on: March 10, 2009, 08:21:24 AM »
Use
<RetainPointOrder 1

instead of
<OriginalPointOrder 1

25 years with DesignCAD

bdeck

  • Hero Member
  • *****
  • Posts: 815
Re: <OriginalPointOrder parameter fails
« Reply #2 on: March 10, 2009, 09:42:30 PM »
Hi DT,

Many Thanks,

BD