default point helper settings

Hi guys, how's going?
i was wondering if is possible to create a script to configure the default settings of point helper as this - http://prntscr.com/55o39i. The default settings are these - http://prntscr.com/55o3jn.
i´m not a coder and i tried to do something with macro recorder, but it doesn´t work. Maybe some simple code tu put in the scripts/startup folder? I really don´t know if is possible, but is very annoying to have to configure the tool every time i use.
That´s it, thanks everyone.

Jsrocha

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jsrocha's picture

Hi Eek, thanks for your

Hi Eek, thanks for your help.
I tried to use your script saving it as a .ms file in startup folder and it doesn´t work. I also tried to make a shortcut to a .mcr script, but it doesn´t work either (the script creates a point at 0,0 coords, but the others points are created without the wanted settings). Am i doing something wrong?
Thanks again,

Jsrocha

miauu's picture

.

This is the right solution:
Put it in maxRoot/scripts/startup folder

--******************************************************************************************************
-- Created: 		10-12-2014      20:15
-- Last Updated:	10-12-2014
-- Version:			1.00
--
-- Author :  Kostadin Kotev / [email protected] / http://miauumaxscript.blogspot.com/
-- Version:  3ds max 2009 and up
--
-- Discription: When Point helper is created apply user defined settings to it
-- Usage: Put it in maxRoot/scripts/startup folder
--
--
--******************************************************************************************************
-- MODIFY THIS AT YOUR OWN RISK
 
(
	global AutoPointSettings
	function AutoPointSettings =
	(
		createdNode = callbacks.notificationParam() 
		if classOf createdNode == Point do
		(
			createdNode.name = "PointHelper"
			createdNode.cross = true
			createdNode.Box = true
			createdNode.axistripod = false
			createdNode.centermarker = false
			createdNode.constantscreensize = true
			createdNode.drawontop = false
			createdNode.wirecolor = color 0 255 0
		)
	)	
	callbacks.removeScripts id:#AutoPointSettingsID
	callbacks.addScript #nodeCreated "AutoPointSettings()" id:#AutoPointSettingsID	
)
jsrocha's picture

Hi miauu, thanks for your

Hi miauu, thanks for your help.
I did everything you said, and is not working - http://prntscr.com/5h2uqi
am i doing something wrong?
thanks,

Jsrocha

miauu's picture

.

Restart 3dsMax.
I can make a video to show you that the script works.

jsrocha's picture

Hi miauu, you don´t have to

Hi miauu, you don´t have to make a video, i believe you ;-)
i restarted max and it still does not work. Probably i´m doing something wrong here.
Thanks for your help!

Jsrocha

miauu's picture

.

Here is the video - 3dsMax 2014 64bit.

Try to add some debug lines of code. For example add

print "This is executed"

before

createdNode.name = "PointHelper"

to see if the callbacks works.

citizenWOLF's picture

PointHelper

Here is a simple script for what you need:
Evaluate this:

( Point size:50.8 isSelected:On 
	$.name = "PointHelper"
	$.cross = on
        $.Box = on
        $.axistripod = off
        $.centermarker = off
        $.constantscreensize = on
	$.drawontop = off
	$.wirecolor = color 0 255 0
)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.