Jeff,
I'm looking for a method in LISP to select Cogo Points by Point Number, as you would on the command line such as 'PN.
I'm planning to write a LISP program that can prepare Radial Stake Out reports, since Autodesk Civil 3D Reports fails to produce such reports because it uses HTML langauge and it will not work on IE9+.
The program itself should be relatively simple just as it was for LDD. The math and logic for LISP should be very easy. The only difficulties I may have is selecting the Cogo points by number and parcing out Foresight Point entries such as 100,113-125. My first thought would be to have the FS points in a Point Group before running the program, thus having the user select the Point Group to grab all of the points within the group.
(setq BS-Az (angle OC-PT BS-Pt)
BS-Dist (itoa (distance OC-PT BS-PT))
FS-Az (angle OC-PT BS-Pt)
FS-Dist (itoa (distance OC-PT FS-PT))
AngleRT (angtos (- FS-Az BS-Az) 4 6)
);set
Command: Enter Occupied Point: 1
Command: Enter Backsight Point: 2
Command: Enter Foresight (Stakeout) Points: 100,113-125
Result
-------------------------------- Radial Stake Out Report ---------------------------------
Pt# Northings Eastings Elevation Description
Occupied Point: 1 50000.0000 50000.0000 100.00 Iron Pipe
Backsight Point: 2 50500.0000 50000.0000 100.00 Iron Rod
Backsight Direction: N 00d00'00" E
Backsight Distance: 500.00'
---------------------------------------------------------------------------------------------------
Pt# Angle Right Distance Northings Eastings Elev Description
---------------------------------------------------------------------------------------------------
100 90d00'00" 125.22' 50000.0000 50125.2200 100.00 Hub
113 90d00'00" 155.22' 50000.0000 50155.2200 100.00 Hub
125 90d00'00" 175.22' 50000.0000 50175.2200 100.00 Hub
Any help you can offer will be appreciated.