Attach mesh objs by name with numbering - Revit Import
Hi guys,
I'm often dealing with imported Revit files.
They contain more than 20k objects.
I need to attach them, by name, but they have numbering at the end, CF Attached file.
Would it be possible to attach the objects that have the exact same name but disregarding the last numbering bit? At least it's using the brackets so maybe we could use that to exclude from the name?
It has to stay a editable mesh and not be converted to poly as this leads sometimes to bad geometry.
Thanks a lot for your help.
Cheers
Stan
Attachment | Size |
---|---|
snag-0115.png | 134.76 KB |
Comments
Beginner Question
Hi
I save this code as a *.ms file and tried to run it as a script but it did not collapse the mesh...what am I doing wrong?
Rueben
How do I use these scripts?
Hi
Obviously a newbie question here, but these lines of code/scripts how do I make them work?
I tried to copy the code into the max's "new script" save it out as an *.mcr, then tried and run the script and nothing happens.
Regards Rueben
Hey mate, just got a little
Hey mate, just got a little error.
Thanks for your help, really appreciated!
Stan
`
ah, true, it did not work for names with spaces
this one should work for all kind of names:
Cheers mate, seems to work,
Cheers mate, seems to work, although it eats up my ram :-)
`
wow, did you try to save and open it again ?
if yes, and still the same ram usage than maybe new objects are to heavy
if was caused by operations in script you can try to use just: gc()
or
.
Linear attach will be versy slow. This thread can be used to improve the attach algorythm and to speed up the time for attaching.
Tools and Scripts for Autodesk 3dsMax
Hey guys, I'm facing the same
Hey guys,
I'm facing the same issue again.
Got a scene with 150k objects and only 450k poly but ram goes through the roof and crashs max.
Any help would be appreciated.
Thanks
Stan
`
hi, try this one:
Beginner Question
Hi
I save this code as a *.ms file and tried to run it as a script but it did not collapse the mesh...what am I doing wrong?
Rueben