Select solid points and edit points at the same time

One more for today, if I can. If you have a solid overlapping a curve that was maybe used to created it, is there a script that would allow you to select both objects and turn on their control points so you can drag them to change their shape at the same time? Right now you have to apply SolidPtOn to the solid and EditPtOn for the curve. Is there a way to select both objects and have their points turned on in one step?

Sure would be a time saver.

Thank you…

Hi,

FWIW In V5 I have a button that turns on points for all objetcts.
The macro involved is by @SamPage :

_NoEcho -_Runscript (

Option Explicit
'Script written by <Sam Page>
'Script version Thursday, April 15, 2010 8:13:06 AM

Call allPointsOn

Sub allPointsOn()
   Dim arrObjects, Object
   arrObjects = Rhino.GetObjects( "Select objects for control point display", 671200060, True, True, False )
   if isNull( arrObjects ) Then
   	exit sub
   End If
   Rhino.EnableRedraw False
   for each Object in arrObjects
   	Rhino.UnselectAllObjects
   	Rhino.SelectObject Object
   	If rhino.IsPolysurface( Object ) Then
   		Rhino.Command "_noecho _SolidPtOn"
   	Else
   		Rhino.Command "noecho _PointsOn"
   	End If
   Next
   Rhino.UnselectAllObjects
   Rhino.EnableRedraw True
End Sub


)

You can put in on a button like so:

HTH
_Willem

Like the other one, Willem, is there any way to turn it in to a Drag’n Drop Script that loads up at start up?

I would really appreciate it.

Hi Cosmas - drag and droppable:

AllPointsOn.rvb (752 Bytes)
-Pascal

1 Like

Thank you, Pascal. It works perfectly.