Notifications
Clear all

[Closed] sweep.ini extending

Can someone please tell me how to expand/ extend the sweep.ini file with the build in “star” shape and “NGon” shape and some other shapes by an example ?

I’ve got to added this (below) but didnt seem to work…

[Star]
ClassID= 6549,0
IconFile=Sweep_DefaultSections
IconIndex=1
NumDefaults= 6
Default1= 0,float,50.000000
Default2= 0,float,100.000000
Default3= 0,int,6
Default4= 0,float,0.000000
Default5= 0,float,5.000000
Default6= 0,float,10.000000
[NGon]
ClassID= 4176,0
IconFile=Sweep_DefaultSections
IconIndex=1
NumDefaults= 4
Default1= 0,float,50.000000
Default2= 0,int,0
Default3= 0,int,3
Default4= 0,float,5.000000

Please Help !!

4 Replies

It works fine for me, but add the 3 entries below into the file.
NOTE: Also, I edited the file here: C:\Users[username]\AppData\Local\Autodesk\3dsMax\2017 – 64bit\ENU\en-US\plugcfg

[Global]
BuiltInSections= Angle,Bar,Channel,Cylinder,Half Round,Pipe,Quarter Round,Tee,Tube,Wide Flange,Egg,Ellipse,Star,NGon

[Star]
ClassID= 6549,0
IconFile=Splines
IconIndex=9
NumDefaults= 6
Default1= 0,float,50.000000
Default2= 0,float,100.000000
Default3= 0,int,6
Default4= 0,float,0.000000
Default5= 0,float,5.000000
Default6= 0,float,10.000000
[NGon]
ClassID= 4176,0
IconFile=Splines
IconIndex=3
NumDefaults= 4
Default1= 0,float,50.000000
Default2= 0,int,0
Default3= 0,int,3
Default4= 0,float,5.000000

-Eric

OMFG
it works; been struggeling a whole day
tnx a lot

Thanks, I never knew this…but for the hell of it…I thought what is the point of the header tags then ?

So to test, I put Ngon first in the dropdown list…but it appears last in the file…and it still works…

I guess he never added them to the BuiltInSections.

Thanks for the clarification vusta.

-Eric