gazybara
@gazybara
New Member
Joined: Feb 14, 2024
Topics: 36 / Replies: 998
Reply
RE: how to count polygones in selection ?

if isProperty selection[1] “mesh” != null do selection[1].mesh.faces.count

11 years ago
Forum
Reply
RE: rollout controls question

Yup. This works try(DestroyDialog ::RO)catch() rollout RO “Rollout” ( fn dnClr r g b = ((dotNetClass “System.Drawing.Color”).FromArgb r g b) dotNet…

11 years ago
Forum
Reply
RE: calling 3Ds max functions through maxscript

I don’t know if I understand you correctly but here is a example fn setPlaneProps pln createMtd:2 lSegs:4 wSegs:4 genMapCoords:on rwMapSize:off \ wc…

11 years ago
Forum
Reply
RE: Duplicate Layer with the same content inside

ossosso: Ehy man, this is your script I’ve modifier a bit What I want: I show with an example. -First layer name: “esp_code_hp” -Final clone layer n…

11 years ago
Forum
Reply
RE: Duplicate Layer with the same content inside

ossosso: mmm… before executing the script: after executing the script: in max2013, I dont’ know… You are only create fn by using my code. Add…

11 years ago
Forum
Reply
RE: Duplicate Layer with the same content inside

On max2014 I not see any problem.

11 years ago
Forum
Reply
RE: Duplicate Layer with the same content inside

ossosso: Yes it was your damn working code I was ironic. When I execute your code (the first) nothing happens… have I to change something? I just …

11 years ago
Forum
Reply
RE: Duplicate Layer with the same content inside

Above code works on all hidden or unhidden layers in LayerManager but for now let say we have (not hidden) layer named “Originals” which we need to cl…

11 years ago
Forum
Reply
RE: Duplicate Layer with the same content inside

Yup. Code that you posted is written by who? Are you not recognize the style? Here we go fn cloneLayers hidden:off prefix: sufix: = ( for l = 0 …

11 years ago
Forum
Reply
RE: Duplicate Layer with the same content inside

ossosso: Hi! I can’t find this feature in 3ds max, maybe could be reached with a bit of scripting… I’d like to make a copy of a lyaer, the new layer…

11 years ago
Forum
Reply
RE: Maxscript container help please

ducphantran: Oh this is a good tip what means the “&” for “nodes” This is from mxs help doc <void>.GetContentNodes nestedContainerNod…

11 years ago
Forum
Reply
RE: Maxscript container help please

Try this aproch. Both methods work only on opened containers fn intArr objclass = ( local result = #(), nodes = #() if (cArr = getClassInstances Co…

11 years ago
Forum
Reply
RE: count not assigned materials

When you use(run) “scenematerials” U will get only collection of assigned mateials. But if you want to collect all not used materials then simply loop…

11 years ago
Forum
Reply
RE: Run action on one object at time

I gave you an answer here

11 years ago
Forum
Reply
RE: Units MaxScripts

Actually you need to use units.decodeValue Example My current units display type is #metric (#centimeters) When you use units.decodeValue method then …

11 years ago
Forum
Page 23 / 69