Notifications
Clear all

[Closed] How to rename point helper?

How to rename point helper?

i can create

			a=Point name:"hp_1"
			a.cross=on
			a.box=off
			a.size=150
			a.wirecolor=black
			a.pos=[0,0,0]
			a.rotation=eulerAngles 0 0 0

but i can’t get the name

for i in getClassInstances point do print i.name

Unknown property: “name” in Point Helper

5 Replies
a = point name:"hp_1"

print a.name

this way will not help
I have several helpers with undefined names
and I need to rename all of them

for example:

for i in getClassInstances point do
i.name = “helper”

(
	for h in helpers where classOf h == point do h.name = "myName"
)

Create only one point helper in the scene and run this:

(		
	for h in getClassInstances point do
	(
		show h
	)
)

See in the maxscript listener the parameters which you can alter.

It works, thanks!