CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 2365
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

 

HelpCAD discussion

 
CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.

How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedDWG Trueview - Page setup/ 3D DWF problem

 Post Reply Post Reply
Author
Breeze104 View Drop Down
Senior Member
Senior Member


Joined: 03.Aug.2007
Location: United States
Using: Production Design Suite Premium 2015
Status: Offline
Points: 125
Direct Link To This Post Topic: DWG Trueview - Page setup/ 3D DWF problem
    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

Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2018
Direct Link To This Post Posted: 20.Mar.2008 at 20:28
You will need to initialize (setup, define) the complaining layouts in AutoCAD.
Vladimir Michl (moderator)
Arkance Systems - arkance-systems.cz - Autodesk reseller
Back to Top
Breeze104 View Drop Down
Senior Member
Senior Member


Joined: 03.Aug.2007
Location: United States
Using: Production Design Suite Premium 2015
Status: Offline
Points: 125
Direct Link To This Post Posted: 20.Mar.2008 at 22:22
I understand that, but that is what I am not sure how to do.

Edited by Breeze104 - 20.Mar.2008 at 22:22
Breeze

Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2018
Direct Link To This Post 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 Systems - arkance-systems.cz - Autodesk reseller
Back to Top
Breeze104 View Drop Down
Senior Member
Senior Member


Joined: 03.Aug.2007
Location: United States
Using: Production Design Suite Premium 2015
Status: Offline
Points: 125
Direct Link To This Post 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

Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2018
Direct Link To This Post 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 Systems - arkance-systems.cz - Autodesk reseller
Back to Top
Breeze104 View Drop Down
Senior Member
Senior Member


Joined: 03.Aug.2007
Location: United States
Using: Production Design Suite Premium 2015
Status: Offline
Points: 125
Direct Link To This Post Posted: 21.Mar.2008 at 19:43
It says "Unknown command "[CODE]VBASTMT".  Press F1 for help."
Breeze

Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2018
Direct Link To This Post 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 Systems - arkance-systems.cz - Autodesk reseller
Back to Top
Breeze104 View Drop Down
Senior Member
Senior Member


Joined: 03.Aug.2007
Location: United States
Using: Production Design Suite Premium 2015
Status: Offline
Points: 125
Direct Link To This Post 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

Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,352 seconds.