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 Mode

Started by aqua, April 02, 2010, 10:13:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

aqua

Designcad 13.13

In BasicCad, the following code will change the Point Select Mode setting.

>PointSelectMode
{
  }

Does anyone know a way to check the setting first?
I want to make sure it is turned off.

(If it is already turned off, and I add the above code, it will turn it on, and vice versa.)

Regards Frank

paulerens

#1

Sys(345) - Point Select Mode Status [0 = off, 1 = on] read_only

If(Sys(345)) Then  'it will turn it off
>PointSelectMode
{
}
End If
If Not(Sys(345)) Then  'it will turn it on
>PointSelectMode
{
}
End If

aqua

Paul

Thanks

'Ensure Point select mode is turned off
PSM = 0
PSM = SYS(345)
If PSM = 1 then
>PointSelectMode
{
  }
end if

paulerens

#3
Frank,

Yes but
If(Sys(345)) Then  'This will turn PointSelectMode off Only if it is on and without Variable names.
>PointSelectMode
{
}
End If

Paul.