ScriptSpot home

Forum topic · General Scripting

show vertices as dots

By titane357 · 2013-04-19

Description

hello

I can't find how to uncheck "show vertices as dots" checkbox via maxscript...
Anybody ?

Comments (12)
d1myan

sorry, working

harumscarum

by the way how to make toggle to turn on/off vertex as dots on selected objects?

I think that the preferences.useVertexDots(or using the Preferences Dialog) is global, so it is valid for all objects. But I am not sure about that.
Can you do it manually - to show vertices as dots for selected object?

Reply to miauu
harumscarum

yeah. just toggle for this checkbox in object properties

Reply to harumscarum
Branko Živković

try this


macroScript vertTicksToggle category:"vtToggle" buttonText:"vtToggle" tooltip:"Vertex TicksToggle"
(
fn filt obj = isKindOf obj GeometryClass or isKindOf obj shape
if selection.count != 0 do
(
for o in selection where filt o do o.vertexticks = not o.vertexticks
)
)

No work in 3dsmax 2018

Very good script, which I used until today. But now it does not work in 3ds max in 2018. Help: how to fix it?

Reply to d1myan
miauu

.

I have tested it in 3ds Max 2018 and it works with no problems.

miauu

I found it using "as dot" typed in the search field.:) Then I searched each topic for "as dot". Fortunately in this case it was in the first topic. :)

titane357

yeees, found, but searching need to know exactly what and where to search...

miauu

It is in maxscript help file. Search for preferences.useVertexDots and you will find it.

miauu

preferences.useVertexDots =


preferences.useVertexDots = false -- true
Reply to miauu
titane357

thanks a lot :-)
question : where can I find this info ? I didn't find in maxscript help ?