AutoCAD Inventor :: Macro To Open A Specific Folder
May 15, 2008I'm trying to create a macro that can open a specific folder in iam. same like 'place component from' function but from a specific folder.
View 2 RepliesI'm trying to create a macro that can open a specific folder in iam. same like 'place component from' function but from a specific folder.
View 2 RepliesI have been trying to create a macro to control an assembly. The problem is that I need to access a certain parameter in a specific part in the assembly. I can get the exact parameter by using the "name" of the given parameter, ex .Item("d7") to call the parameter d7. The problem for me has been what name do I use to call out a given part, I have been using .Item(Index number), ex .Item(12), but this number can change as parts are added, deleted, or suppressed.
The question is what "name" should I be using and how do I use it. I have tried
"InternalName", "PrimaryDeselGUID", "DisplayName", "FullDocumentName", "FullFileName"
but there is no "Name" to input like the parameter.
I know I can make a button on the ribbon for running a specific macro. But, is this possible for iLogic rules? I would love to be able to run rules and launch forms from the ribbon!?
View 5 Replies View RelatedIn Word and Excel it's possible under Preferences to point to a specific folder for both saving and opening files. Is this possible under Photoshop to do the same as it's taking me ages to find the correct file when wanting to open/alter/save multiple images.
View 1 Replies View RelatedHow do I configure Paintshop Photo Pro X3 to open in a specific folder when I open the program? I have looked in preferences to no avail.
View 1 Replies View RelatedWould like to set specific folder/catalog as the one to open on initial load of organizer? How?
View 2 Replies View RelatedI am trying to create a logic rule to replace the model reference in a idw file and then save as using the new file reference name. I am able to do this for individual files or components within an assembly file.
However what I would like is to check through all files of a certain type (for example ipt with filenames beginning "SSUA" ) in a specific folder.
The following code from Curtis Waguespack works well for individual selected files but I would like to take it a stage further with the above parameters.
Dim oDoc as DocumentoDoc = ThisDoc.DocumentDim oRefFile As FileDescriptorDim oOrigRefName As Object For Each oRefFile In oDoc.file.ReferencedFileDescriptors'get the full file path to the original internal referencesoOrigRefName = oRefFile.FullFileName'present a File Selection dialogDim oFileDlg As inventor.FileDialog = NothingInventorVb.Application.CreateFileDialog(oFileDlg)oFileDlg.InitialDirectory
[Code]........
When opening a step file and trying to save it, it keeps trying to save it in the 'My Documents/inventor' folder. Even if i select save as and pick a specific folder elsewhere it only saves the top assembly in that location and all sub assemblies and parts are then saved in the My Documents/Inventor folder.
Additional info:
I am operating Autodesk inventor pro 2013.
My project is set to a folder C:inventor workspace
And the folder i am trying to save into is in that folder
Is it possible to automatically divert Inventor to save to a specific folder within the workspace???
If a certain iProperty is set to yes, we want the user to save that file into a particular folder, if they try and save it elsewhere a message is popped up telling them an error has been made please try and save in the correct folder.
Admittedly I am not the most competant iLogic programmer but this is what I have thus far
Format:HTML Format Version:1.0 StartHTML: 165 EndHTML: 5388 StartFragment: 314 EndFragment: 5356 StartSelection: 314 EndSelection: 314
SyntaxEditor Code Snippet
WorkspacePath=ThisDoc.WorkspacePath()
DrawingPath="C:Live WorkSpaceDesigns3D Designs3D Drawings"
[Code] .......
Is it possible to unfold a sheet metal part and save as a dwg in a specific folder automaticaly using ilogic?
Inventor 2012 Pro
Windows 7 64 bit
Core I5 2410M processor | GeForceGT 525M graphics card | 8G RAM
I created a macro for generate a PDF drawing, but when one file has been already created, AND he's already open, the macro don't work.
How to stop the macro automatically and notify that the macro has been stopped because the file is open.
Below, the current macro :
Sub PublishPDF()'Get the PDF translator Add-In.Dim PDFAddin As TranslatorAddInSet PDFAddin = ThisApplication.ApplicationAddIns.ItemById("{0AC6FD96-2F4D-42CE-8BE0-8AEA580399E4}")'Set a reference to the active document (the document to be published).Dim oDocument As DocumentSet oDocument = ThisApplication.ActiveDocumentDim oContext As TranslationContextSet oContext = ThisApplication.TransientObjects.CreateTranslationContextoContext.Type = kFileBrowseIOMechanism
[Code] ....
When importing something off of a DVD or CD how do I direct Lightroom to copy the imported images or folder to a specific folder on my hard drive? It seems to default to MyCatalog but leaves the location on the CD rather than copying it to the drive. If I remove the CD the images is reported as missing.
When I go to the top of the screen for importing I can change the source but the location info on the right is not active or changeable.I am new to lightroom and coming from Photoshop Elements background.
I have been using the addin "Save Run Macro" to automatically run a macro every time the "Save" button is pressed.
Any of the following questions about "Save Run Macro"?
1] When I protect the macro from viewing (so I can protect my code) "Save Run Macro" does not see the macro.
2] When I save the part for the first time (ipt, iam or idw/dwg) the macro does not run. I always need to run the macro again.
when i try to open my 2011 inventor program which ive been running for months now i get an error message. and the program refuses to open. "Error in Inventor Undo Folder: Please Make Correction" any ways to fix this so i can get back to work. and i should add that i am not a computer genius im a furniture designer.
View 9 Replies View RelatedI often save drawings in DXF format elsewhere on another server for the sheet metal guys to be able to open them and work with them. It is a completely different folder and server than where my working folder is (and Vault as well). Is there a way to get that folder as a shortcut on the left where it shows my working folder? Difficult to drill down through all the necessary folders every time I save a DXF 100 times a day.
View 5 Replies View RelatedNeed a macro to copy a specific file and then promp where to paste the file. Trying to make a macro to Publish to PDF with certain parameters, mainly the security password, then save to as file "X". Then Call macro to copy file "X" so I can navigate to the proper directory,paste it and rename it.
If Corel had a feature that would allow you to set your password once and it would remember it so you didn't have to retype it every time.
I did managed to Record completely the macro but it will only save over the same file every time. It would work great if I could get it to just go back to the "publish To PDF" after inputting the settings then I can name it and put it in the directory I want.
I am looking for a macro for nesting different shape panels to a specific page size. each panel must have a clearance of 5mm all around. and cannot rotate. must be stay within the grain.
View 2 Replies View RelatedIs it possible to display the default windows explorer folder tree in the open dialog box instead of the current "Libraries" folder?
View 1 Replies View RelatedI am using Coreldraw but in the past I have been able to create the following Macro to do the following
(1) open a file called C:ArtworkC67PSML.cdr
(2) change the text in one field from "Recorded in Ireland" to "Recorded in China"
(3) remove all guideline fields
(4) export the cdr to pdf format and save as new file C:Artwork2C67PSML.pdf
But I would very much like to be able to run the macro on all CDR files in the c:/Artwork folder, how I could amend my code (shown below) to do this ?
Sub Rings()
Dim doc1 As Document Set doc1 = OpenDocument("C:ArtworkC67PSML.cdr") Call TextTranslate ActivePage.Layers("Guidelines").Editable = True ActivePage.Layers("Guidelines").Shapes.All.CreateSelection ActiveSelection.Delete ActivePage.Layers("Guidelines").Activate
[Code] ......
How do I configure AutoCAD 2010 to point to a specific folder for the plot styles (ie. *.ctb files)?
View 2 Replies View RelatedWhen I open Elements 9 in Folder Location the images displayed are not those in the highlighted folder. Similarly if I select another folder I see another selection of images from elsewhere in the structure.
View 1 Replies View RelatedI am new to both iMac and Illustrator, and cannot find a way to save .ai files to a specific sub-folder.
The options available in the Save As dialog box are Devices, Favorites and Recent places. If the folder I want doesn't show in these categories I end up saving to the desktop and moving the file in Finder.
I've had a simple lisp I've been using for years that suddenly disappeared. It required that you identify a block name, tag name, and the value that you want the tag to be. All of this is performed via command line, so it is scriptable. Since I lost it, I've been experimenting with -attedit. This command comes frustratingly close to what I'm looking for, except it only appends an existing tag, or replaces a specific string within the tag; I can't get it to replace the entire tag, regardless of its value.
1> Any lisp routine that does what I describe?
or
2> How to make -attedit replace a tag value without regard to what the value currently is (like a * wildcard)?
I need to be able to choose a specific folder to generate image assets to! Is there some way to do this?
Instead of just creating a folder called nameOfMyFile-assets, I want to generate assets to a folder elsewhere!
I cannot for the life of me figure out how to save in a specific folder desitnations when using Actions and Saving For Web with CS6 PS for Windows. It ALWAYS defaults to last folder used. I am not Batch Processing, just using Actions on one image at a time. I have 3 of these actions.
Action one is for "Thumbnail" folder, Action two is for "Full" folder, and Action three is for "Large" folder. All these actions are doing is saving for web into these folders (path displays correctly in Action script). HOWEVER after I successfully use Action one and save into the Thumbnail folder and move on to Action 2, it wants to save back into Thumbnail AND NOT into Full folder. In short I now have 3 actions saving to the same folder even though my recording designated 3 different locations.
I want to know if the metadata for each FOLDER I add can be stored separate from all the metadata file, so I could delete just a folder for later recuperate it individually and have it´s metadata?
View 3 Replies View RelatedI have this macro,but it opens the folder not the drawing,
^C^C-filedia;0;open;"C:/ADT_2008_drawings/John Becker Construction/Chart7.dwg"
80% of the time I want to save my workfiles to a specific folder (i am quite organized when it comes to Creative Suite files) and I wondered:
Is there anyway to tell PS to go to that specified folder when I want to save, and not try to save into the folder where I found the last source picture?
I have the latest update in LR. I have had this problem on and off and thought maybe it was a bug and once I did the update things would work, but doesn't
So I want to export a folder from LR onto one of my external hard drives however when I click to export my only choice is Desktop. I can open that "tree" as far as it goes but it NEVER shows Computer so I can select which external hard drive to export files to as a backup.
When I go to explorer from the start menu I can see all my files in Explorer including Computer with my external drive just not in LR.
I have restarted my computer, I have tried two different hard drive thinking it just might not recognize one of the drives but that isn't it either.
I have had this problem in the past and haven't been able to figure why sometimes I see my Computer and other times all I see is Desktop as an export option.
Elements 11. I have a folder that I want to just see images that are in aspecific album.
When I click on the folder I see every image whether or not they are in a album. That is I see all images from all albums.
How do I find the ones in the folder that are in a specific album?
I am trying to copy big assembly with its folders from one folder to another.I cant use Copy Design because I get too long path error.
Alternative way of copying files and keeping its relationships?