News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

point select access

Started by bdeck, October 27, 2015, 06:57:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bdeck

Is there any way in basiccad to gain access to points previously selected and set by the user in point select mode?

JJG

Do you mind this way ? (fouded in DesignCAD Version 17 Macro Developer's Reference, ch 3)

<UsePresetPoint

Use this parameter to automatically use all the points in the point buffer (they are not erased from the buffer by this usage). This avoids the necessity to use PointVal to place the points in an array and then cycle through the array to set the points in the drawing command. Especially useful in Preset Point Mode.

Example:

SetPoint "Set five points...", 5
>Line
{

<UsePresetPoint
<Pointxyz 10, 0, 0

}

DrollTroll

Check out the SETSELECTEDPOINTS statement!
25 years with DesignCAD

bdeck

Quote from: DrollTroll on October 28, 2015, 02:37:40 PM
Check out the SETSELECTEDPOINTS statement!

DT,
Yep, that's it.
Thanks,
BD