>: CG Forums on 3dtotal - The best forums for CG artists :.
threedy forums home
 


top-table-gradient
Go Back   3DTotal Forums > Help, Advice and Chat > General software and hardware help
bottom-table-gradient

Reply
 
Thread Tools Display Modes
14211 rads test
Old 11-08-2006, 04:30 AM   #1
Killarena
Registered User
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
[3ds Max]Macro_reactor.mcr 5error

Hi , sorry for my bad english (Yes again ) but since of i change little things in a MaxScript , i have 5error when i open 3ds max :



So i think that it is because I changed anything but i forget what i change so i ask to you where i can find this MaxScript whithout change for copy it in 3ds Max , Thanks to you and Bye !

Last edited by Killarena; 11-08-2006 at 02:35 PM..
Killarena is offline   Reply With Quote
Old 11-08-2006, 05:34 AM   #2
DeadlyFreeze
Not a zombie.
 
DeadlyFreeze's Avatar
 
 
Join Date: Jan 2004
Location: P-town
Posts: 1,547
Thanks: 7
Thanked 32 Times in 20 Posts
Awards Showcase
The Ultimate 3DTotal Award!: Only available in Platinum, given to select few for incredible service to the community. - Issue reason: For throwing one hell of a good suggestion out there. You suggested the sculpting challenge, and we ran with it. The community loves it. Nice one! Threedy Top Poster - Silver: Contributing to the forums with 1,000+ posts - Issue reason: Target Reached Threedy Top Poster - Bronze: Contributing to the forums with 100+ posts - Issue reason: Target Reached! The Golden Grenade IV: For participating in the Dominance War IV and successfully finishing, well done soldier! - Issue reason: For participating in the Dominance War IV and successfully finishing, well done soldier! The Golden Grenade V: For participating in the Dominance War V and successfully finishing, well done soldier! - Issue reason:  Thumbs up!:  - Issue reason: your testicles Digital Painting - Silver: 2nd place in a speed painting challenge! - Issue reason: 2nd place in speed painting challenge ''Death Match'' Digital Painting - Silver: 2nd place in a speed painting challenge! - Issue reason: 2nd place in speed painting challenge Digital Painting - Silver: 2nd place in a speed painting challenge! - Issue reason: 2nd place in speed painting challenge Low Poly Game Art - Bronze: 3rd place in a low poly challenge! - Issue reason: 3rd place in Low POly Comp #22 Washed Up super Hero 
Total Awards: 10
My first piece of advice would be DONT EDIT YOUR MACROS! Really if you dont know what your doing dont mess with it, or atleast backup your macro directory.

The text file I'm attaching is a clean Macro_Reactor.mcr just change the txt to mcr and install in your root:\3dsmax8\UI\MacroScripts

and if that dosent work then you will probably have to reinstall
__________________
DWV Work Thread... so many balls.

The mysterious guy behind you...
DeadlyFreeze is offline   Reply With Quote
Old 10-03-2009, 11:24 AM   #3
PadreOhayes
Registered User
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Hello - can you send me that file also? I have similar error when I run my version of 3D max 8. Its killing me - I have to re-install everytime I run max. What is the problem? Any advice very much apprecaiated.
PadreOhayes is offline   Reply With Quote
Old 11-08-2006, 02:41 PM   #4
Killarena
Registered User
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
I will never again change MaxScript , it works ,thanks !
Killarena is offline   Reply With Quote
Old 10-03-2009, 11:21 AM   #5
PadreOhayes
Registered User
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Killarena View Post
I will never again change MaxScript , it works ,thanks !
How did you fix this? I see the previous post was supposed to have a txt file attached - how do I get this?

Forigve my ignorance if Im askign stupied questions - first time on this forum. I have the same error in Max and its wrecking my head. As far as I know I did not mess around with the Macros settings.
PadreOhayes is offline   Reply With Quote
Old 10-03-2009, 11:27 AM   #6
DeadlyFreeze
Not a zombie.
 
DeadlyFreeze's Avatar
 
 
Join Date: Jan 2004
Location: P-town
Posts: 1,547
Thanks: 7
Thanked 32 Times in 20 Posts
Awards Showcase
The Ultimate 3DTotal Award!: Only available in Platinum, given to select few for incredible service to the community. - Issue reason: For throwing one hell of a good suggestion out there. You suggested the sculpting challenge, and we ran with it. The community loves it. Nice one! Threedy Top Poster - Silver: Contributing to the forums with 1,000+ posts - Issue reason: Target Reached Threedy Top Poster - Bronze: Contributing to the forums with 100+ posts - Issue reason: Target Reached! The Golden Grenade IV: For participating in the Dominance War IV and successfully finishing, well done soldier! - Issue reason: For participating in the Dominance War IV and successfully finishing, well done soldier! The Golden Grenade V: For participating in the Dominance War V and successfully finishing, well done soldier! - Issue reason:  Thumbs up!:  - Issue reason: your testicles Digital Painting - Silver: 2nd place in a speed painting challenge! - Issue reason: 2nd place in speed painting challenge ''Death Match'' Digital Painting - Silver: 2nd place in a speed painting challenge! - Issue reason: 2nd place in speed painting challenge Digital Painting - Silver: 2nd place in a speed painting challenge! - Issue reason: 2nd place in speed painting challenge Low Poly Game Art - Bronze: 3rd place in a low poly challenge! - Issue reason: 3rd place in Low POly Comp #22 Washed Up super Hero 
Total Awards: 10
lol what do you expect from a post that's almost 3 years old?

Ironic that I would be the same person to post. Tell me what version of Max you have and I can give you a clean .mrc file.

edit nm, here you go Macro_Reactor.mcr
__________________
DWV Work Thread... so many balls.

The mysterious guy behind you...

Last edited by DeadlyFreeze; 10-03-2009 at 11:31 AM..
DeadlyFreeze is offline   Reply With Quote
Old 10-03-2009, 11:51 AM   #7
PadreOhayes
Registered User
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Hello Deadly Freeze - I have just sent you another message (you ahd posted here before I had time to finish it - I was preparing a screen grab of the error).

I am running Max 8 - my head is wrecked. I am running a fully licensed version and I have re-installed from my original CD lots of times. Max runs fine a few times and then the error comes back again. If I click the OK button as in the screen grab (below) approx 150 times (yes - its a bit sad I've actually counted) the errors stop generating and I can close the Max Scirpt error window.


Thanks a lot for your response - any further advice would be very much apprecaited. Also what exactly do I do with the file? Just replace my existing - right?

Thanks.

Last edited by PadreOhayes; 10-03-2009 at 11:57 AM..
PadreOhayes is offline   Reply With Quote
Old 10-03-2009, 11:58 AM   #8
PadreOhayes
Registered User
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
I have just saved that last file you gave me the link to and replaced in the relevant folder. I re-ran Max and yes - still the same bloddy errors! Again - any firther advice appreciated.

Thanks.
PadreOhayes is offline   Reply With Quote
Old 10-03-2009, 01:17 PM   #9
DeadlyFreeze
Not a zombie.
 
DeadlyFreeze's Avatar
 
 
Join Date: Jan 2004
Location: P-town
Posts: 1,547
Thanks: 7
Thanked 32 Times in 20 Posts
Awards Showcase
The Ultimate 3DTotal Award!: Only available in Platinum, given to select few for incredible service to the community. - Issue reason: For throwing one hell of a good suggestion out there. You suggested the sculpting challenge, and we ran with it. The community loves it. Nice one! Threedy Top Poster - Silver: Contributing to the forums with 1,000+ posts - Issue reason: Target Reached Threedy Top Poster - Bronze: Contributing to the forums with 100+ posts - Issue reason: Target Reached! The Golden Grenade IV: For participating in the Dominance War IV and successfully finishing, well done soldier! - Issue reason: For participating in the Dominance War IV and successfully finishing, well done soldier! The Golden Grenade V: For participating in the Dominance War V and successfully finishing, well done soldier! - Issue reason:  Thumbs up!:  - Issue reason: your testicles Digital Painting - Silver: 2nd place in a speed painting challenge! - Issue reason: 2nd place in speed painting challenge ''Death Match'' Digital Painting - Silver: 2nd place in a speed painting challenge! - Issue reason: 2nd place in speed painting challenge Digital Painting - Silver: 2nd place in a speed painting challenge! - Issue reason: 2nd place in speed painting challenge Low Poly Game Art - Bronze: 3rd place in a low poly challenge! - Issue reason: 3rd place in Low POly Comp #22 Washed Up super Hero 
Total Awards: 10
You have something else going on from what the OP question was.

First off try moving your 3dsmax.ini out of the root directory and some place else, and reload max.

If that doesn't work move your whole \MacroScripts\ directory out of the root and reload max. Then you can tell if its a loading problem with the maxscript at least.
__________________
DWV Work Thread... so many balls.

The mysterious guy behind you...
DeadlyFreeze is offline   Reply With Quote
Old 10-03-2009, 08:29 PM   #10
PadreOhayes
Registered User
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up Thanks - Solved.

Thanks for the solution man - I really appreciate it. I moved the 3dsmax.ini out of the root directory and chose OpenGL as graphics driver option.

Everything appears to be working now - good man.

Cheers - I owe u a beer!
PadreOhayes is offline   Reply With Quote
Old 16-03-2009, 02:30 PM   #11
harry123
Registered User
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
My first piece of advice would be DONT EDIT YOUR MACROS! Really if you dont know what your doing dont mess with it, or atleast backup your macro directory.
harry123 is offline   Reply With Quote
Old 23-03-2009, 12:09 PM   #12
PadreOhayes
Registered User
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Still Errors

Hello,

As far as I am aware I did not intentionally edit my Macros. I am still getting errors. I can now run Max without any errors but if I try to convert somethign to an editable mesh the I get more errors. If any one out there has further advice it would be great. Please take a look at the error reult below (this is after I have pressed to 'OK' button on the errors about 50 times!!!

Macro_EditableSpline.mcr - MaxScript


/*
EditSpline Operations MacroScript File


Revision History:

June 12 2000, Created

12 dec 2003, Pierre-Felix Breton,
added product switcher: this macroscript file can be shared with all Discreet products

EditSpline operations Macroscript file.
--************************************************** *********************************************
-- MODIFY THIS AT YOUR OWN RISK
--
-- Renamed flt_EditS --> Filters.Is_EditSpline
*/
MacroScript ESpline_Attach
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Attach"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Attach (Spline)"
-- Needs Icon
(
On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
ApplyOperation Edit_Spline Splineops.startAttach

)

)
MacroScript ESpline_Detach_Segment
enabledIn:#("max", "viz", "vizr") --pfb: 2003.12.12 added product switch
ButtonText:"Detach Segment"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Detach Segment (Spline)"
-- Needs Icon
(
On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 2 then subobjectlevel = 2
else if subobjectlevel == 2 do Try(ApplyOperation Edit_Spline Splineops.Detach)Catch(MessageBox "Operation Failed" Title:"Spline Editing")

)

)

MacroScript ESpline_Detach_Spline
enabledIn:#("max", "viz", "vizr") --pfb: 2003.12.12 added product switch
ButtonText:"Detach Spline"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Detach Spline (Spline)"
-- Needs Icon
(
On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 3 then subobjectlevel = 3
Try(ApplyOperation Edit_Spline Splineops.Detach)Catch(MessageBox "Operation Failed" Title:"Spline Editing")

)

)
MacroScript ESpline_Weld
enabledIn:#("max", "viz", "vizr") --pfb: 2003.12.12 added product switch
ButtonText:"Weld Vertices"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Weld Vertices (Spline)"
-- Needs Icon
(
On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 1 then subobjectlevel = 1

ApplyOperation Edit_Spline Splineops.Weld

)

)
MacroScript ESpline_Hide
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Hide (Spline)"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Hide (Spline)"
-- Needs Icon
(

On IsVisible Return Filters.Is_EditSplineSpecifyLevel #{2..4}

On Execute Do
(
Try(ApplyOperation Edit_Spline Splineops.Hide)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)
MacroScript ESpline_UnHide
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Unhide All (Spline)"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Unhide All (Splines)"
-- Needs Icon
(

On IsVisible Return Filters.Is_EditSplineSpecifyLevel #{2..4}

On Execute Do
(
Try(ApplyOperation Edit_Spline Splineops.UnHideAll)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)
)

MacroScript ESpline_Reverse
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Reverse Spline"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Reverse (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(

if subobjectlevel == undefined then max modify mode
if subobjectlevel != 3 then subobjectlevel = 3
Try(ApplyOperation Edit_Spline Splineops.Reverse)Catch(MessageBox "Operation Failed" Title:"Spline Editing")

)

)

MacroScript ESpline_Insert
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Insert"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Insert Selection (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
Try(ApplyOperation Edit_Spline Splineops.StartInsert)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Trim
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Trim"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Trim (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 3 then subobjectlevel = 3
Try(ApplyOperation Edit_Spline Splineops.StartTrim)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)
MacroScript ESpline_Break
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Break Vertices"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Break Vertices (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 1 then subobjectlevel = 1
Try(ApplyOperation Edit_Spline Splineops.StartBreak)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)
MacroScript ESpline_UnBind
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Unbind"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Unbind (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 1 then subobjectlevel = 1
Try(ApplyOperation Edit_Spline Splineops.Unbind)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Divide
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Divide"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Divide (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 2 then subobjectlevel = 2
Try(ApplyOperation Edit_Spline Splineops.Divide)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Explode
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Explode"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Explode (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 3 then subobjectlevel = 3
Try(ApplyOperation Edit_Spline Splineops.Explode)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Create_Line
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Create Line"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Create Line (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
Try(ApplyOperation Edit_Spline Splineops.StartCreateLine)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_MirrorHoriz
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Mirror Horizontally"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Mirror Horizontally (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 3 then subobjectlevel = 3
Try(ApplyOperation Edit_Spline Splineops.MirrorHoriz)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Refine
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Refine"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Refine (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 1 then subobjectlevel = 1
Try(ApplyOperation Edit_Spline Splineops.StartRefine)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Refine_Connect
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Refine Connect"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Refine Connect (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 1 then subobjectlevel = 1
Try(ApplyOperation Edit_Spline Splineops.StartRefineConnect)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Extend
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Extend"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Extend (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 3 then subobjectlevel = 3
Try(ApplyOperation Edit_Spline Splineops.StartExtend)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Make_First
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Make First"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Make First (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 1 then subobjectlevel = 1
Try(ApplyOperation Edit_Spline Splineops.MakeFirst)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Close
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Close"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Close (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 3 then subobjectlevel = 3
Try(ApplyOperation Edit_Spline Splineops.Close)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Delete_Vertex
enabledIn:#("max", "viz", "vizr") --pfb: 2003.12.12 added product switch
ButtonText:"Delete Vertex"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Delete Vertex (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 1 then subobjectlevel = 1
Try(ApplyOperation Edit_Spline Splineops.Delete)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)
MacroScript ESpline_Delete_Segment
enabledIn:#("max", "viz", "vizr") --pfb: 2003.12.12 added product switch
ButtonText:"Delete Segment"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Delete Segment (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 2 then subobjectlevel = 2
Try(ApplyOperation Edit_Spline Splineops.Delete)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)
MacroScript ESpline_Delete_Spline
enabledIn:#("max", "viz","vizr") --pfb: 2003.12.12 added product switch
ButtonText:"Delete Spline"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Delete Spline (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 3 then subobjectlevel = 3
Try(ApplyOperation Edit_Spline Splineops.Delete)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_MirrorVert
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Mirror Vertically"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Mirror Vertically (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 3 then subobjectlevel = 3
Try(ApplyOperation Edit_Spline Splineops.MirrorVert)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Fillet
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Fillet"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Fillet (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 1 then subobjectlevel = 1
Try(ApplyOperation Edit_Spline Splineops.StartFillet)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Outline
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Outline"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Outline (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 3 then subobjectlevel = 3
Try(ApplyOperation Edit_Spline Splineops.StartOutline)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Cross_Insert
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Cross Insert"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Cross Insert (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 1 then subobjectlevel = 1
Try(ApplyOperation Edit_Spline Splineops.StartCrossInsert)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Subtract
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Subtract"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Subtract (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
Try(ApplyOperation Edit_Spline Splineops.StartSubtract)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Bind
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Bind"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Bind (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 1 then subobjectlevel = 1
Try(ApplyOperation Edit_Spline Splineops.StartBind)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Attach_Multiple
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Attach Multiple"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Attach Multiple (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
Try(ApplyOperation Edit_Spline Splineops.AttachMultiple)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Cycle
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Cycle Vertices"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Cycle Vertices (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 1 then subobjectlevel = 1
Try(ApplyOperation Edit_Spline SplineOps.Cycle)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Connect
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Connect"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Connect (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 1 then subobjectlevel = 1
Try(ApplyOperation Edit_Spline Splineops.StartConnect)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)

MacroScript ESpline_Mirror_Both
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Mirror Both"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Mirror Both H&V (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 3 then subobjectlevel = 3
Try(ApplyOperation Edit_Spline Splineops.MirrorBoth)Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)

)



-- ************************************************** *****************
-- Spline Ops: Vertex Mode
--
-- SO LEVELS: 1 = vertex; 2 = Segment; 3 = Spline
--
-- ************************************************** *****************

MacroScript ESpline_VChamfer
enabledIn:#("max", "viz") --pfb: 2003.12.12 added product switch
ButtonText:"Chamfer Vertex"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Chamfer Vertex (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
Try
(
If SubObjectLevel == undefined then Max Modify Mode
if subobjectlevel != 1 then subobjectlevel = 1
ApplyOperation Edit_Spline Splineops.startchamfer
)
Catch(MessageBox "Operation Failed" Title:"Spline Editing")

)

)

MacroScript ESpline_Fuse_Vertex
enabledIn:#("max", "viz", "vizr") --pfb: 2003.12.12 added product switch
ButtonText:"Fuse Vertices"
Category:"Editable Spline Object"
internalCategory:"Editable Spline Object"
Tooltip:"Fuse Vertices (Spline)"
-- Needs Icon
(
--On IsEnabled Return Filters.Is_EditSpline()
On IsVisible Return Filters.Is_EditSpline()

On Execute Do
(
if subobjectlevel == undefined then max modify mode
if subobjectlevel != 1 then subobjectlevel = 1
Try(ApplyOperation Edit_Spline Splineops.Fuse)
Catch(MessageBox "Operation Failed" Title:"Spline Editing")
)
)
PadreOhayes is offline   Reply With Quote
Old 23-03-2009, 07:27 PM   #13
Fredddy
Registered User
 
Fredddy's Avatar
 
 
Join Date: Dec 2006
Posts: 861
Thanks: 0
Thanked 16 Times in 13 Posts
Awards Showcase
Thumbs up!:  - Issue reason: For doing a great job in helping out!  	31-01-2009 02:23 PM  	 Edit  Remove   	 Sathe 	For doing a great job in helping out! Thumbs up!:  - Issue reason: For doing a great job in helping out! 
Total Awards: 2
What you have pasted above is your editable spline macro script, it's not an error report.
And it's not broken. I have tried it in Max 2009 and it works fine.
This leads me to believe you have some issues with some other config file in Max.
When you un-install do you delete all of the Max directories, even the hidden ones?
If not you might be getting errors from a config file in one of these when you re-install.
Fredddy is offline   Reply With Quote
Old 23-03-2009, 07:56 PM   #14
PadreOhayes
Registered User
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Hello Freddy,

I was actually in touch with Autodesk who gave me advice via the phone and walked me through the correct de-installation / re-installation process. Every thing worked fine for a while and then it was back to square one.

I did not mess with settings as far as I know. My head is wrecked with this - I really need Max for an upcoming project.

If you can suggest anything else I'd appreciate it.

Thanks.
PadreOhayes is offline   Reply With Quote
Old 24-03-2009, 01:30 PM   #15
PadreOhayes
Registered User
 
Join Date: Mar 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Any other ideas?

Hello,

Has anyone any other suggestions as to how I might be able to fix this problem? Please take a look at the screen grab of the current Maxscript error(s) I am getting - ??????

I keep hitting OK and the errors change about every ten 'OK' clicks to a different error - I have taken a screen grab and included most of the errors it shows (I think). After I have clicked through about 50 of the 'OK' error popup boxes I can eventually close the window containing the script.

Does anyone have any idea.

PadreOhayes is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 09:45 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
all images displayed on this site are copyright the original artists and may not be reproduced, copied or published elsewhere without their express permission