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


ADVERTISEMENT

AutoCAD .NET :: Possible To Call Lisp Function After BeginDocumentClose Event?

May 15, 2011

I am currently in the process of re-writing my VBA in .net.In VBA I successfully used AcadDocument_BeginClose which called lisp functions.It would be nice to have all code in the same environment I need to transition my changes.

Therefore I need to call lisp from .net.My function works well when run withing the cad files session but does not appear to call the lisp when called after the BeginDocumentClose.

Is it possible to call a lisp function after the BeginDocumentClose event?

View 1 Replies View Related

Edge Animate CC :: Disable A Mouse Event After A Another Event?

Aug 2, 2013

I have a button which has a mousover/mousout animation. When i click the button, it will shrink down to 0%. when it does, my mousout event is triggert, which i dont want.
 
how can i disable the mousout event after the click event?

View 4 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 .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 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 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

AutoCAD Visual LISP / AutoLISP :: Encoding For MAC OSX - Receive Only Different Hieroglyphs Not Cyrillic Text

Aug 12, 2013

I use Cyrillic parts of text in my lisp programs. But when I start lisp  in AutoCAD 2013 Mac for OSX, in text fields I received only hieroglyphics. I try to use different text encoding for lisp file, but i receive only different hieroglyphs, not Cyrillic text.

View 5 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

Photoshop :: CS6 Installation - Receive Error Message?

Nov 18, 2013

I`m trying to install Photoshop CS6.I receive an Error Message about previous version.How can i remove previous Data?

View 2 Replies View Related

Lightroom :: Receive Edited Original Raw Files

Mar 26, 2014

I received some exported jpgs with presets (edited files). I was supposed to receive the edited original raw files.
 
I am still learning LR but if they sent me the catalog file (lrcat) would that allow me to "zero" out all the edits they did to the files I have or would they still have to send me the originals?

View 2 Replies View Related

Lightroom :: Receive Error Message Of 0xc000007b?

Nov 6, 2012

I recieve an error message of 0xc000007b when i try to open Lightroom 4.

View 2 Replies View Related

Lightroom :: Export From IR To Flickr - Receive An Error?

Aug 20, 2013

For the last months, I haven't faced any problem to upload pictures from Lightrrom 4.3 to my Flickr account, but today I receive the following error message :

View 3 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

Photoshop :: Receive Email Notifications For A Single Thread Only?

Jul 12, 2012

Can you do this or must you subscribe to all threads?I could not find a way just to monitor a single thread, or a number of specific threads, as opposed to all threads.

View 2 Replies View Related

Photoshop :: Receive Error When Opening CS5.1 / Parameter Is Missing

Aug 23, 2012

I am receiving an error when I open photoshop cs5.1 [Adobe PS error]: Parameter is missing [shell:161]. I originally had Photoshop installed as a trial and just entered in the purchased license.  I did not have this problem during the trail period.

View 1 Replies View Related

CorelDRAW X5 :: Continue To Receive Error Message When Trying To Print

Apr 20, 2012

Continue to receive error message when trying to print. What is the problem? I have updated the latest Service Pack.

View 12 Replies View Related

Illustrator :: How To Receive Notifications When Placed A Image Or Link Is Updated

Mar 27, 2013

I have Illustrator CS 5 and until 3 days ago I use to receive notifications when a placed image or link was updated outside of Illustrator. It has now stopped. Did I accidentally turn off a preference I didn't know of?

View 1 Replies View Related

Photoshop :: CS5 - Only Can Receive Information Relating To IMac OS Using (search) Option?

Jul 29, 2012

I have an iMac running OS Lion.  System purchased in Dec, 2011. Yesterday I updated Safari to latest version released this past week from Apple at the same time as the Mountain Lion OS.  I have Photoshop CS5 Extended on this computer.  Now when I open PS, with nothing else running, and click "Help" on the Photoshop file menu bar I can only receive information relating to the iMac operation system using the "search" option. 

Example: When I select Help and type "tools" in the search field I see "menu" items relating to tools in PS but the "help topics" only shows topics relation to OS Lion, like "Customize the Finder Toolbar" why I cannot access the help manual for PS?

View 2 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

Edge Animate CC :: Unable To Save Templates - Receive A Restart Error

Dec 13, 2013

As of yesterday I am unable to save templates. At first I thought it may be an error with the project that I was working on, but I've opened up old projects and tried to resave those as a new template and I receive an error.
 
If I create a new project and try to save it as a template, I also receive this error.

View 3 Replies View Related

AutoCAD .NET :: Call COM Object From 2011?

Jul 22, 2012

I tried to call COM object created by C# from other C# module.

I did:

1. Create simple COM object by C#

2. Register it

3. Try to call this COM from other C# console application - it works fine

4. Create simple AutoCad module by C# with IExtensionApplication

5. Try to call this module from AutoCAD - it works

6. In Initialize() method I wrote:

Type myClassAdapterType = Type.GetTypeFromProgID("CoreAdapter.CoreAdapterClass");

 acDoc.Editor.WriteMessage("Type is OK: {0}", myClassAdapterType.FullName);

 object myClassAdapterInstance = Activator.CreateInstance(myClassAdapterType);

acDoc.Editor.WriteMessage("Created");

6. Open AutoCAD again

7. Load my module

8. I saw "Type is OK" (becase it was registered in registry)

But I can't create instance.

View 1 Replies View Related

AutoCAD .NET :: How To Call Command On Runtime

Sep 3, 2012

How to call AutoCAD Command with .net C# on runtime?

For Example,

After opening my Drawing File thro. .net C#,

acApp.ActiveDocument.Application.ZoomExtents();

I need to use the AutoCAD command Oleopen

acApp.ActiveDocument.BeginCommand.oleopen();

Here is some error.

Normally how to use the AutoCAD commands with .net C# programming.

View 9 Replies View Related

AutoCAD Inventor :: Call Indented BOM In IDW Level

Mar 3, 2013

What is the procedure to call a indented bom in idw level? i tried it by clicking ALL LEVEL  in the bom window but no use.

View 6 Replies View Related

AutoCAD Inventor :: Call Out Square In Note?

Jun 11, 2012

What is the proper way to call out  a square in a note?  Do you put size then square symbol or square symbol then size?

View 2 Replies View Related

AutoCad :: Section Call Out (dynamic Block)

Sep 19, 2013

I have this section call out which I modify from default autocad library but the problem I have is that when I scale it to factor of 48 (1/4"=1" drawing) my text is supposed to be 4.5 in and is 4.62. Likewise for scale factor of 96 is 9.24 in as supposed to 9.0 in. HOW GET THE RIGHT TEXT SIZE?

AutoCAD LT2012
Windows 7

View 2 Replies View Related

AutoCAD 2013 :: Call Name Of Layout In Field?

Apr 10, 2013

I use multiple layouts to produce build drawings and I use the name of the layout tab to identify the sheet on the shop floor.

I currently use a field in the titleblock that calls the system variable ctab, the problem is that whenever you update the fields, they all change to the name of the current tab, not the name of their own tab (by default, when you open the drawing, they all say Model).

I resort to building all of the layouts and converting that field to text prior to printing.

View 1 Replies View Related

AutoCad :: How Call Out Blocks Used With Sheet Set Manager

Sep 25, 2013

What is the purpose of call out blocks and how are they used with sheet set manager?

View 3 Replies View Related







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