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
ADVERTISEMENT
Nov 9, 2012
I am currently trying to retrieve data from a MS Access Database, we currently have iProperties with number values in them. An outside programmer created a code which takes these values and exports them to an MS Access Database, where they are then translated to mean something.
Instead of exporting those numbers, I want to use them to find what they ACTUALLY mean within the database and bring that information back into iLogic. (ie. 123456 actually means "1/4 Flat Bar Steel")
In short, I wish to access the MS Access database through iLogic in order to read information from it.
I have searched for the better part of 3 hours but have not found a good answer or example code of this situation. I am not that experienced in programming, but have worked with the API before for developing Automated Drawings and have an understanding how to navigate through. If there were to be some example code, I can begin to understand the process quite well through this method as well by seeing how to go about coding this.
View 2 Replies
View Related
Sep 23, 2011
Running inventor 2010, Installed 2012 to get myself acquainted with the program before totally making the switch, In an assembly everytime I constrain something, or move it it gives me this error. Also I cannot bring this assembly into a drawing because of unresolved issues, yet i have fixed all resolved issues. I would like to get the ribbon platform down before I uninstall inventor 2010...any possibilities
View 1 Replies
View Related
Dec 17, 2012
HOW TO RETRIEVE PICS STUCK IN PHOTOSHOP TRIAL VERSION
View 7 Replies
View Related
Jun 19, 2013
I would like to determine if the installed version is CS4 or higher using the Windows Registry.I currently have Photoshop CS4 and CS6 installed on my computer. They appears as follow in the registry:
[Photoshop CS4] HKEY_LOCAL_MACHINE/SOFTWARE/Adobe/Photoshop/11.0[Photoshop CS6] HKEY_ LOCAL_ MACHINE/ SOFTWARE/ Adobe/ Photoshop/60.0
Does the folder "number" (50.0?) used for Photoshop 5?Also, for example, is it always 60.0 for Photoshop CS6? Even when an update has been installed?
View 6 Replies
View Related
Aug 6, 2013
I am working on the AutoCAD customization and doing the same by VB.Net & C#.Net. But I just want to know the difference as mentioned below:
1. Insert Block In AutoCAD
Using VB.Net without using DataBase services..Only 1 statement is required to Insert the Block objAcadDocument.ModelSpace.InsertBlock(Required Arguments are here) Using C#.Net with DataBase services
There are many statments are there to insert only 1 block..Like Start Transaction, Lock the document, Get the Object Id Block etc...So my quetion is that when I have to use DataBase services and when not
what is the advantage of doing customization using DataBase services rather than go for wihout DataBase services.?
View 4 Replies
View Related
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
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
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
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
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
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
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
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
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
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
Jun 11, 2012
I am unable open some part files and assebly files which are made in 2012 version. I have 2011 version.
View 2 Replies
View Related
May 31, 2013
how to move a file in inventor from the 2014 version to last years version which was 2013 because my teacher's computer isn't reading my file.
View 5 Replies
View Related
Nov 15, 2013
I have recently upgraded to ver 2012 from ver 2000. I have numerous macros that were written for the older version that I need to utilize in ver 2012. I manually recreated them in the new version by typing in the commands from ver 2000. As I expected I am getting errors when I try to run these macros in Ver 2012. The mlayer command, for example, does not work. I am pretty sure I need to use the -layer command and have tried this but I still get errors. While I am relatively proficient in ver 2000 I am having some trouble finding commands in ver 2012 that match the old version. Below is an example of a macro from ver 2000 as well as my attempt to rewrite it in ver 2012.
^C^C(mlayer "notes" "cyan" nil) -insert;B6;insert;;;;$S=NUMB0
my rewrite:
^C^C(-layer;m;"notes" "cyan" nil) -insert;B6;insert;;;;$S=NUMB0
View 1 Replies
View Related
Nov 16, 2012
is there anyway of opening old files from previous edition of autocad on the newer version, have a file from a few years ago and it wont open now on the new one?
View 9 Replies
View Related
Jun 15, 2012
I have the 2013 AutoCAD Student Version and I want to transfer my file to the AutoCAD 30-Day Proffessional version, Can I do this by easily Copying and Pasting the drawing from version to version?
View 9 Replies
View Related
Feb 12, 2013
i have one dwg in 2013 but i do'nt have cad 2013 so i want to open it in 2012
View 5 Replies
View Related
Dec 14, 2012
I installed the retina display-optimized update to my purchased (non-Creative Cloud) version of Photoshop Design Standard (via the Adobe Updater app that pops up in my menu bar only when updates are available), but now when Photoshop launches, I get Photoshop Extended (and it's a trial version). Is this a known issue? Will I need to reinstall Photoshop?
View 2 Replies
View Related
May 27, 2012
I downloaded and paid for the upgrade version of CorelDraw X6 because I have X3,X4 and X5. I have installed it already but I went to reinstall on my desktop PC as I wiped my hard drive back to factory state, CorelDRAW no longer gives the upgrade option.
On start up it gives the following message ( see below ) as a 30 day trial.
View 3 Replies
View Related
May 13, 2013
I cannot save my previous files created on a student version to an upgraded 2014 version. I tried changing the save as path in the options menu, but no luck. I am able to open the file in the upgraded version but it states that it will open as a student version. Also I cannot copy and paste anything from the student version to the upgraded one. Not sure why.
View 4 Replies
View Related
Mar 27, 2013
How can I install a recent version of Photoshop Elements and keep the albums set up in the older version?
View 1 Replies
View Related
Sep 5, 2012
I updated CS4 (student version) to CS5.5 commercial version. The brushes, patterns, shapes and styles I had installed in the CS4 Photoshop version were not loaded into the new version. I no longer have the original files of these assets (or customizations).
How can I load these in the updated version?
View 5 Replies
View Related
Sep 21, 2011
My dvb project file was getting bigger and bigger so I decided to split it into individual files. However, I want to have one file that contains all my library images and I had hoped to reference this library from all the other projects.
So, I have a MASTER.dvb project which contains a library of images, one of which is called LOGO.
In TITLEBLOCK.dvb I want to refer to that LOGO image and place it in my userform.
When everything was together I used LogoTB.Picture = Library.LOGO.Picture.
How do I modify this? I tried LogoTB.Picture = MASTER!Library.LOGO.Picture and variations thereof but can't get it to work.
View 5 Replies
View Related
Dec 20, 2013
In the past we filled in our changes, we did on the part, in the iProperties of the IDW. In the IDW we use some Custom iProperties for this. That's not usefull because you want this data in the 3D-model. Now I have written some code to automate this, which works really great. This code works in the IPT as well as the IDW. But what I want to achieve is: When my IPT is the active document, I want to read out the iProperties from the IDW to check if there is already filled some of these properties, because I have to deal with 'old' documents as well.
So my basis question is: How can I read out iProperties from an IDW into the IPT. I have found lots of solutions which go the opposite direction, IPT -> IDW. I want IDW -> IPT.
View 9 Replies
View Related
Aug 1, 2012
I want to retrieve the Desktop Directory but i found 2 way :
1 : Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory)
2 : My.Computer.FileSystem.SpecialDirectories.Desktop
View 1 Replies
View Related
Dec 3, 2011
i am going to calculate the cost estimation for civil engineering process.so i have to retrieve the data from autocad or 3d max images.how can i retrieve the data from 3d images.
View 5 Replies
View Related