Print Page | Close Window

DWG Trueview - Page setup/ 3D DWF problem

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=577
Printed Date: 16.May.2026 at 08:22


Topic: DWG Trueview - Page setup/ 3D DWF problem
Posted By: Breeze104
Subject: DWG Trueview - Page setup/ 3D DWF problem
Date Posted: 20.Mar.2008 at 17:01

I have several files that will not publish because it says  "layout not initialized"

How do I fix this problem?



-------------
Breeze




Replies:
Posted By: Vladimir Michl
Date Posted: 20.Mar.2008 at 20:28
You will need to initialize (setup, define) the complaining layouts in AutoCAD.

-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: Breeze104
Date Posted: 20.Mar.2008 at 22:22
I understand that, but that is what I am not sure how to do.

-------------
Breeze



Posted By: Vladimir Michl
Date Posted: 21.Mar.2008 at 09:36
In AutoCAD, just switch to the respective layout and use the PAGESETUP command. You need to define scale, page format, etc.

-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: Breeze104
Date Posted: 21.Mar.2008 at 12:35
I have got several hundred files I have to do that to. 
 
Do you or any one know where to get a LISP or script file that I can automate the process with?


-------------
Breeze



Posted By: Vladimir Michl
Date Posted: 21.Mar.2008 at 16:17
You can use e.g. Autodesk ScriptPro and run the following script on all your DWG files:
 
VBAstmt
For Each Lay In ThisDrawing.Layouts: Lay.ConfigName = "None": Next Lay: ThisDrawing.Save



-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: Breeze104
Date Posted: 21.Mar.2008 at 19:43
It says "Unknown command "[CODE]VBASTMT".  Press F1 for help."


-------------
Breeze



Posted By: Vladimir Michl
Date Posted: 21.Mar.2008 at 20:13
I cannot see any "[CODE]" in the script from my posting - please use the exact text (starting with "VBASTMT...").

-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: Breeze104
Date Posted: 21.Mar.2008 at 20:34
When I viewed it through my e-mail it looked like this...
 
VBAstmt
For Each Lay In ThisDrawing.Layouts: Lay.ConfigName = "None": Next Lay: ThisDrawing.Save

I will try again with out the [CODE]


-------------
Breeze




Print Page | Close Window