Panayot
@panayot
New Member
Joined: Feb 15, 2024
Topics: 6 / Replies: 205
Reply
RE: Detach by Element

I see enough useful replies here but you can check my script as well: I’m sure it can be optimized more but still hold some useful things. For ex. e…

15 years ago
Forum
Reply
Forum
Reply
RE: Visibility of grouped objects?

Yep, the objects inherit the group viz-prop so that maybe is a bit more faster – for i in selection where isGroupHead i do i.visibility = off

15 years ago
Forum
Reply
RE: Maxscript xml

If you not want to mess with dotNet xml parser, may design your own reader. Here’s some ‘on-the-fly’ pseudo code (not tested atm), just as idea: xml …

15 years ago
Forum
Reply
RE: Get mesh from shape in buildMesh?

No, check this discussion:

15 years ago
Forum
Reply
RE: Error: Duplicate Job Name

Heh, looks like “How To Avoid Duplicate Job Name?” is still mind-blowing question that stay blured for years, lol. How else to explain the lack of goo…

15 years ago
Forum
Reply
RE: Is there a better way to do this?

as i see its not standard ini file, so… may try this: file = openFile “c:\\proyect\\proyectconfig.ini” mode:”r” vers = (filterString (readLine file) …

15 years ago
Forum
Reply
RE: Regular expression in MAxscript ?

If I see, Mxs [b]matchPattern/b function can helps too.

15 years ago
Forum
Reply
RE: help ! my script wont undo!

All expressions within rollouts evaluated without undo record, such like if you say “with undo of (…)” in regular script, so you need to pass your cod…

15 years ago
Forum
Reply
RE: Protecting dotNet component events from GC in max 2009

That’s clear and agree, I just was not sure what you mean above. Thanks for the reply! Now I try to remember why I lose trust to custom protection

15 years ago
Forum
Reply
RE: Protecting dotNet component events from GC in max 2009

Lifetimecontrol not added correctly to Max? Just curious.

15 years ago
Forum
Reply
15 years ago
Forum
Reply
RE: Protecting dotNet component events from GC in max 2009

Simply, nope. May wrote an separate .net app and use COM bridge.

15 years ago
Forum
Reply
RE: Close RCMenu programmatically

interesting topic lo: … … rollout parentDialog “Parent – not modal” width:200 ( button openMenu “Open Menu” timer modalTimer interval:5…

15 years ago
Forum
Reply
RE: Checking a bitmap's alpha value

If the case is just to test wheter the bitmap has alpha then this will save your time: <bitmap>.[b]hasAlpha[/b]

15 years ago
Forum
Page 13 / 15