PDA

View Full Version : [Question mark]UVWMAP.gizmo the processing question?


jthwax
01-01-2009, 10:50 PM
several questions as following i would like to ask for answers, please.

01.
I have to transfer the selection value into the variable,
What should i do?
Although it may made "for A in selection do" ,
it seemed that probably led in the circle.
But if i use "selectionSets ["boxes"] = selection",
it can be saved,
But actually increased group of data.


02.Although the execution of, completed smoothly,
"UVWMAP" increase and ".gizmo" coordinate migration.
Why the Screen picture flashed with high speedů
Is there method, to execution?

03.
How to judge the selection geometry,
Once used " instance" Or " uvwmap" ?

04.
How can i know, the now system units default ?

05.
How many grammar compilation other has, whether correctly?
pt_0 = [0,0,14] --Such correct ?

max modify mode --Open the editing pattern, does it need ?

obj.UVW_Mapping.gizmo.position = pt_3
-- Are the "position" and "pos" the same ?

06.
How to delete the "UVWMAP" ?

07.
Is there any difference between world coordinate and
use coordinate of MAXSCRIPT ?

Code:
[code]
selectionSets["boxes"] = selection
nss = selectionSets["boxes"]
nss.name
smct = nss.count
(for i in 1 to nss.count do
(select nss[i]
obj = nss[i]
pt_0 = [0,0,14]
pt_1 = obj.center

--The beginning reduces the central point computation differential value
pt_x = pt_0[1] - pt_1[1]
pt_y = pt_0[2] - pt_1[2]
pt_z = pt_0[3] - pt_1[3]
pt_3 = [pt_x,pt_y,pt_z]

addmodifier obj (uvwmap ())
obj.modifiers[#UVW_Mapping].maptype = 4
obj.modifiers[#UVW_Mapping].utile = 1
obj.modifiers[#UVW_Mapping].vtile = 1
obj.modifiers[#UVW_Mapping].length = 1
obj.modifiers[#UVW_Mapping].width = 1
obj.modifiers[#UVW_Mapping].height = 1
obj.modifiers[#UVW_Mapping].realWorldMapSize = off
obj.modifiers[#UVW_Mapping].utile = 1
obj.modifiers[#UVW_Mapping].vtile = 1
obj.modifiers[#UVW_Mapping].wtile = 1
obj.modifiers[#UVW_Mapping].length = 25.0
obj.modifiers[#UVW_Mapping].width = 25.0
obj.modifiers[#UVW_Mapping].height = 25.0

max modify mode --Opening editing pattern
subobjectLevel = 1
obj.UVW_Mapping.gizmo.position = pt_3
subobjectLevel = 0
)
)

deleteItem selectionSets nss
clearSelection()
[\code]


Questions Above this.
Thanks for all the masters to, show the answers !!!

CGTalk Moderation
01-01-2009, 10:50 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.