Welcome to CGarchitect.com Untitled Document

Go Back   CGarchitect.com > 3D SOFTWARE > Scripts

Notices

Scripts Post and discuss architectural scripts or maxscripts here. This forum is for all software applications.

Reply
 
LinkBack Thread Tools Display Modes
Sponsored Links

Old September 18th, 2006   #1 (permalink)
Junior Member
 
Join Date: Sep 2006
Location: US
Posts: 1

Name: Tim Smith


United_States 


Default Script Import DWG "Legacy"

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
TS30 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 1st, 2006   #2 (permalink)
Junior Member
 
Join Date: Oct 2002
Location: Los Angeles
Posts: 21

Name: Anton Vasilescu


United_States 


Default Re: Script Import DWG "Legacy"

Max sees only one importer which is the new one and it doesn't allow access through mxs to the legacy one. I've had the same issue and solved by removing the plugin for the new importer from the installation directory...
__________________
Anton Vasilescu - Freelance Artist
Modeling/Animation/Scripting/Motion tracking/Rotoscoping
http://www.75ive.com
anton is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
MAX Script for replacing geometry in an imported DWG file? jonssonhenrik Scripts 1 June 26th, 2006 07:32 AM
Dwg to max import problems 3dfreelancer 3ds Max 4 January 31st, 2005 07:49 AM
More CAD tools? parallel line, spline dwg import, tip PellePixel 3ds Max 1 July 8th, 2004 01:41 AM
Autocad dwg import Tiny Piney Autodesk VIZ 2 October 22nd, 2003 08:18 AM
How to import CAD dwg to lightwave? blaz Lightwave 33 May 11th, 2003 08:03 PM


All times are GMT -7. The time now is 10:11 PM.





Powered by vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
© Copyright 2001 – 2008 CGarchitect Digital Media Corp. All Rights Reserved.