Jump to content

Script Import DWG "Legacy"


TS30
 Share

Recommended Posts

Hey Guys,

I am trying to complete a script in 3dsmax and I want to use the legacy import command for .dwg files.

The problem that I am having is all of my layers (ie. "siding") are being imported in to max as ("Layer:siding").

this happens because the default import command is newer and adds "Layer:" to the front of all layer names.

I am trying to find a way to use legacy import, when I manually import using legacy import the names come in the right way.

But there does not seem to be a way to assign the legacy import through scripting.

 

 

here is what I have :

 

theClasses = importerPlugin.classes

 

importfile "x:\IL_Jobs\models\Aberdeen-c.dwg" #noprompt theClasses[4]

 

 

 

Your help would be greatly appreciated.

 

Thanks

 

TS

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...