AutoCAD .NET :: SaveAs With Paperspace Layout Current

Jan 18, 2012

I have a bit of code that batch processes from a template drawing. It all works fine until I get to the SaveAs() function. I have narrowed down the problem to have something to do with the drawing starting and saving in a paperspace layout. When I run the code with the template saved in model space it works fine but whe the current tab is a paperspace layout I get an error during the saveas() function "eInvalidInput"

I am using VS2008 and Autocad 2011. Is there a difference in saving with a paperspace layout current?

View 9 Replies


ADVERTISEMENT

AutoCad :: Plot A Paperspace Layout Tab

Aug 19, 2010

Basically I am trying to plot a paperspace layout tab... I have 4 viewports... I have selected monochrome... And when I plot it on my HP plotter everything in the viewport plots in color but my titaleblock information is black and white...

I am running AutoCAD Mechanical 2011

Let me know

View 9 Replies View Related

AutoCad :: Paperspace Modeling Without Altering Layout?

Jan 15, 2014

I have got a drawing that is set up on A0 as per the client requirements. However, for use on site by our engineers, i want to send over an A2 of just the area they are working in to make it clearer for them. On my original drawing, all the information for the installers is dotted around the page to show site requirements. However, what I am planning on doing now is making 2 x A2 drawings showing the areas of work for this phase, and then 1 x A2 showing all installer requirements.

My issue is though that i don't want to alter the positioning on my drawing in the layout tab as it is to how the client needs it to be and sod's law will be that i will need to do an amendment at some point too.

I have seen a drawing with some boundaries drawn on the layout, which the client has put on a 'defpoints' layer, then on the paper space they have been able to show the different defpoints in different areas on the page, even though they are joining on the layout tab.

View 9 Replies View Related

AutoCad :: Can Dimensions In Layout / Paperspace Be Associative

Apr 6, 2013

i want to add some dimensions in paperspace. after creating some dimensions, if i double click on my viewport and move it around a bit, the dimensions in paperspace stay where they are. is there a way to get them to move with the drawing?

View 4 Replies View Related

AutoCad :: 2011 - Paperspace Printing Layout For Drawing

Apr 1, 2011

I'm new to this forum, and also pretty new with autocad. For an assignment ive to use it to produce a drawing. But for a good grade I'd like to learn how to create a printing layout for my drawing. I'm pretty good with model space. But new with using paperspace.

How i would create this image,( just a 5 second attempt to illustrate what I am trying to achieve), in AutoCad:

Obviously id be inserting my drawing from modelspace into the big white area in the middle, but just cant seem to follow anything I've found so far on the net successfully to get to my goal here.

View 9 Replies View Related

AutoCAD Civil 3D :: Specific Paperspace Layout In Windows Shortcut

Nov 27, 2013

A way to create a windows shortcut to a drawing that opens a specific Paperspace Layout?

For example, I have a drawing located in a Windows folder called 'Appraisal Maps', the drawing contains 2 paperspace layouts, one of which is named Show Me Stakes. I would like to have a Windows shortcut of the drawing inside of a Windows folder called 'Staking-Show Me', so that when I double click the drawing it will open up and automatically switch to the proper paperspace layout.

I am wanting this for two reason, 1) so that we do not create multiple drawings and actually use the power of autocad layout tabs and layer management. 2) so that when management opens up the drawing it goes directly to the proper layout minimizing their head scratching as to what is going on.

View 6 Replies View Related

AutoCAD .NET :: Setting Current Layout

Aug 23, 2013

After setting a layout for printing current,
 
LayoutManager.Current.CurrentLayout = LayoutName 
btblRec = CType(tr.GetObject(db.CurrentSpaceId, OpenMode.ForWrite), BlockTableRecord)
db.CurrentSpaceId returned the ObjectID of the ModelSpace and not of the Layout set current. 

Is there something that could prevent this from happening? 

View 2 Replies View Related

AutoCAD 2013 :: Model Documentation Generated Views In Paperspace Layout Tabs

Dec 12, 2012

My group and I are getting an infrequent but annoying problem with Model Documentation (MD) generated views in paperspace layout tabs.  We all on autocad 2013, with sp1.1 installed on x64 machines. 

We are seeing objects/ blocks showing in the MD views (viewbase created) in the layout that are no longer in model space.  One common factor in this is that these objects seem to always be externally referenced (xref) files that have been either unloaded or completely detached (both cases purges preformed afterwards to wipe any remaining blocks made no difference). In this latest case the ghost objects show up twice (we needed 2 of the same xref) at what appears to be the correct old coordinates. 

We have no work around for this and when this occurs we either have to revert to an older version from vault or create a new dwg, port all information over and recreate all views.  The interesting thing about this problem is that if we revert to an older version from vault, the ghosts do not reappear/ reoccur at the same commands they appeared at previously. 

View 2 Replies View Related

AutoCAD .NET :: Doesn't Change The Current Layout

Mar 18, 2010

why this code doesn't Change the current layout.

Dim acLayoutMgr As LayoutManager
acLayoutMgr = LayoutManager.Current
acLayoutMgr.CurrentLayout = "Model"

View 9 Replies View Related

AutoCAD 2013 :: Create Layout View Using View Manager In Paperspace?

Jun 18, 2013

I am trying to create a layout view using the view manager in paperspace. Whenever i click on define window, it does not record any information no matter where i click. If i do the same task in model space, it accepts the window i select. I am currently using civil 3d 2013 with the latest updates.

Civil 3D 2013
HP Z400 Workstation
6GB of RAM
296GB HDD
ATI FirePro V5700(FireGL)
Win 7 Home Professional

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Insert Another Drawing Layout Tabs Contents In Current Drawing

Mar 7, 2013

I want to insert another drawing layout tabs contents in current drawing.

It's easy for MODEL tab, but for LAYOUT tabs, I dont know how!?

I prepared a code for INSERTING MODEL tab in current drawing:
 
(defun INS_DWG (TAB path dwg P / blk)(setq blk (strcat ""*" path dwg """));(setq N (vla-get-count (vla-get-layouts)));;Number of LAYOUT TABS in dwg(if (or(= TAB 0) (= TAB nil))(command "INSERT" blk P 1 0)); TAB=0 or omitted ==>Insert MODEL;(if (= TAB 1));==>Insert the 1st LAYOUT in dwg file;(if (= TAB 2));==>Insert the 2nd LAYOUT in dwg file;and so on....);;;usage:;;(INS_DWG 0 "c:\test\" "test.dwg" '(0 0))

View 8 Replies View Related

AutoCAD Inventor :: Saveas Case Sensitive?

Oct 15, 2013

Does Saveas really need to be case sensitive. I just spent a lot of time trying to figure out why my addin wasn't working and all that was wrong is I had a capital P on png.

Dim sPath As String = System.IO.Path.GetDirectoryName(sIDWName) & "PartsLists"
Dim sFileName As String = System.IO.Path.GetFileNameWithoutExtension(sIDWName) & ".Png"
vs
Dim sFileName As String = System.IO.Path.GetFileNameWithoutExtension(sIDWName) & ".png"
Dim sPNGName As String = sPath & "" & sFileName
MsgBox(sPNGName)
oCamera.SaveAsBitmap(sPNGName, 1124, 899)

View 1 Replies View Related

AutoCAD 2013 :: SaveAs And Block Creation

Jul 21, 2012

I have a student that downloaded and installed the 2013 student version of AutoCAD.  She then opened a drawing we were working on in class (2012 standard version) and continued to work at home.  She is able to save that drawing by clicking the save button on the Quick Access toolbar, however she is unable to "Saveas" that drawing to a different name or different release.  The dialog box resets the file name to a file path on her C drive as soon as you move the mouse.

The same thing happens when she goes to make a block - she can type a block name in the window, but as soon as the mouse moves, the name changes to a block name already in the list.

View 2 Replies View Related

AutoCAD Inventor :: Force Saveas From External App?

Aug 29, 2012

I want to force a saveas from an external app using code as below:-

If OApp.Ready Then
Try                   
Call oDoc.SaveAs(File_Full_Name, True)
......

However, Inventor invariably crashes at this point - especially if panning a model. Is there a way I can either lock Inventor from the user whilst the save is happening or check that no mouse or keyboard activity is in use?

I have tried monitoring the status bar text for "Ready" but tihs is unreliable.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Current View Align With Current Ucs?

Jul 20, 2013

how can i know if the current view/display is align with the current ucs?

let's say i have rotate the ucs about z axis 45 degrees and make it plan now i draw some things and then i change back to world

worlducs = 1

viewdir = 0,0,1

ucsxdir = 1,0,0

ucsydir = 0,1,0

but the display is still in the ucs z 45 (ucsfollow = 0) set the view to PLAN current (now the view is aligned) but the system vars does not change.

For a plan UCS, you would need to compare the VIEWDIR system variable and the cross product of the UCSXDIR and UCSYDIR system varaibles.

[URL]

View 7 Replies View Related

AutoCad :: Print PDF To Current Plot Settings In Current Drawing Directory

Sep 29, 2011

Is there a macro/script/deisel that will automatically print a pdf (cute pdf autocad lt 2007) to current plot settings in current drawing directory and give it the current drawing view name and number? Disk space not a problem these days and would save time to have a pdf copy of all drawing tabs readily stored in the directory ready for issue.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Check Current Plotter Name For Current Tab

Sep 3, 2013

Technique that can check the current plotter name for the current tab and assign it to a variable?  i.e. can it be assigned to a variable to check if if equals "myplotter1".  The next step  - is there a technique to change the plotter name to "myplotter2.pc3".

I have partially done the latter part of this in the past using the -plot command line to ASSIGN a  new plotter but I would really like to only run the routine if it really needs to.  

View 9 Replies View Related

AutoCAD .NET :: Retrieve SaveAs Version In Database.BeginSave

Mar 30, 2012

Is there a way to retrieve the fileversion in the Database.BeginSave event when the user has choosen like version 2004 in the default SAVEAS command?

I only found the OriginalFileVersion and LastSaveAsVersion property, however I have to add something in the database for version 2004 before it is saved. Or is there another approach?

View 2 Replies View Related

AutoCad :: SAVEAS Looses File Name When Saving Through Shortcut Key

Feb 27, 2013

I have a folder on a my desktop with shortcuts to my active projects in my company's network. When I run SAVEAS in AutoCAD, I browse for the respective file using the shortcuts folder. However, the file name is now changing to the name of the shortcut folder. For example, a file is named PreliminaryPlat.dwg. I want to SAVEAS PreliminaryPlat.dwg in P:/111-05-02/Plats. Rather than go through hundreds of folders in the P:/ drive, I click on a shortcut in a FOLDER on my desktop for P:/111-05-02/Plats. When I run the SAVEAS in AutoCAD, the window is prompting me to save the drawing as P:/111-05-02/Plats. I found this error happens when I SAVEAS using a folder shortcut.

View 4 Replies View Related

AutoCAD .NET :: SaveAs API - Don't Receive Call Back For SaveComplete Event

Dec 3, 2013

I am facing problem with SaveAs API which is when called to save the top drawing of one or above level structure we don’t receive call back for “SaveComplete” event. When we call SaveAs API, it is expected to receive first call back for BeginSave event and then SaveComplete event. But we don’t receive the call back for SaveComplete event.Below is the scenario:

Create a drawing say, “TopDrawing” and attach another drawing (as xRef) say “ChildDrawing” to the “TopDrawing”.
 
Save the drawings.Now modify the “ChildDrawing”.After this we are using following SaveAs API for the “TopDrawing”.
 
inline Acad::ErrorStatus saveAs(const ACHAR* fileName,
const SecurityParams* pSecParams = 0);

Observations: After using this API we receive call back for “BeginSave” event. But we are not receiving call back for “SaveComplete” event.Due to this we are not able to save the TopDrawing after the modification of its reference. This issue is observed in more than one level structures also.This is observed with AutoCAD2010,11,12 and 13.

Expected Results:

We should receive call back to SaveComplete following to the call back for BeginSave event in order to save the structure correctly. What needs to be done if I want to get result as I am expecting after using SaveAS API.Also provide me the information about the libraries which are used for SaveAs function.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: How To Detect User Hitting ESC Key During SAVEAS Command

Nov 8, 2011

I'm putting together a simple lisp routine to issue bound, purged drawings.

I have code that will do the binding & purging but need handling the saving.

This is my approach :

(1) ask the user to save the drawing using this line (command "_saveas" "" "~")

(2) run a subroutine that binds xrefs etc (this works ok)

(3) run the QSAVE command

Trouble is, if the user cancels or hits escape during the SAVEAS command the subroutine & QSAVE will still run, overwriting the current drawing. How do I handle this scenario? Or should my appoach be different?

View 9 Replies View Related

Illustrator Scripting :: CS5 - How To Disable SaveAs Option

Aug 29, 2013

I need to hide/disable the "save As" and Save option in the "illustrator application CS5" menu via scripting.

View 6 Replies View Related

Edge Animate CC :: Get Current Label In Timeline From Current Location

Jun 5, 2013

I have 1 Next button that is used on the timeline.  Each position has a pause then a play so there is only 1 button.  I need to get the label info so I know where I am so I can save the location of the timeline that the user was at if they exited before they finished the process.

View 6 Replies View Related

Illustrator Scripting :: Batching SaveAs In CS6 Will Not Save PDF Compatible

Sep 12, 2012

So I'm using a script that I wrote to bring in files that were converted from CorelDraw to EPS (this is the best conversion process to preserve text and drawing assets).  Basically the script takes the art in the EPS, groups it, places a rectangular border around the art and centers them.  We do this so that they come into InDesign correctly sized.  The problem is, it used to be 100% automated, just about, however now the saveas action command will not remember that "Save as PDF Compatible" needs to be set to true.  When I do a saveas command, it's check by default, but when the saveas command is batched, it does NOT do it that way.  When I try to bring batched AIs into InDesign, it's text that says it was not saved as PDF Compatible.  Am I going to have to script a save function to get control of the saveas settings?  I don't understand why PDF compatible is checked by default, yet batching saveas saves as if it unchecked it. 

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Saveas Drawing With Default Drawing Name

Oct 13, 2013

I am trying to put together a lisp routine for exporting a Civil3D drawing to basic autocad entities and convert it to a clients layer standards.

I don't want any user input, so I see two problems with the routine at the moment.

Step 2. SAVEAS - I want the drawing to be saved in the same directory as the current drawing, either called "CLIENT_export.dwg" or preferably "Export_{current drawing name}.dwg". If the dwg exists I want it either to overwrite or increment a suffix number.

Step 4. At the moment it askes the user for a selection, I want it to select "ALL"

;;;Purpose to convert a Civil3D drawing into CLIENT layer standards.

(defun c:client ()
(setq old-echo (getvar "CMDECHO"))
(setvar "cmdecho" 1)

[Code]...

I don't have any experience with LISP or any other programming. I have just been cobbling this together from bits and pieces I have found on the web.

View 3 Replies View Related

AutoCAD Civil 3D :: Can't Find Layout Elements That Are Supposed To Be In Layout Tools Tab

Feb 27, 2013

I have a bit of a problem with Autocad map 3d 2012. When i try to insert a scale bar or a north arrow or any other carthographic element i simply can't find the layout elements that are supposed to be in layout tools tab. I've done a lot of research online and can't come up with anything.

View 2 Replies View Related

AutoCad :: How To Change 2009 Layout To Classical Layout

Apr 2, 2011

Where is the button to click to change 2009's layout to a "classical layout"?

View 6 Replies View Related

Illustrator :: Change Shortcut Layout And Use German Layout

Oct 26, 2013

I use illustrator for several things.So i really need to use shortcut's.But there is one big problem : I have the english version of illustrator and i have a German keyboard layout.An example :
 
To blank a shape u use '/' ( English Version )
To blank a shape u use '#' (German Version )
 
I can't use '/' cause i have to press shift+/ ... I dont know its not working.Can i change the "Shortcut-Layout" and use the German layout ? 

View 2 Replies View Related

AutoCad :: Templates In Paperspace?

Jun 4, 2013

I am having problems Xref ing a drawing of my new title block to paperspace. The plan is to try and have it as the default title block whenever I select to layout a drawing

View 5 Replies View Related

AutoCAD Map 3D :: How To Put Blocks In A Key In PaperSpace

Feb 24, 2011

I want to put some blocks in a key (on a TitleBlock, in PaperSpace). I have imported my garden as an Xref - does the access to those blocks not come too? And if not, how do I import them - or do I have to open the Xref and copy each over individually?

View 3 Replies View Related

AutoCad 3D :: How To Dimension Using Paperspace

Nov 23, 2011

For those who are using paperspace and want to dimension your modelspace 3D part.

1. Create a new dimstyle called 3D Standards (copy from your already standard dimstyle), the only thing you are going to change is the text alignment, change it to align with dimension lines.

2. In modelspace use your 3 point UCS and select 3 points on part how dim. will lay. So, if you need to dim. top, then pick 3 points on top, ect...

3. Change the dimscale to reflect the same scale as the viewport.

4. When finished dimensioning your part, select (Changespace) and select all dimensions (if you want all your dimensions to be in paperspace.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved