AutoCAD Inventor :: ILogic - Save To Specific Folder Within Workspace
Mar 15, 2013
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] .......
View 4 Replies
ADVERTISEMENT
Jul 21, 2010
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
View 9 Replies
View Related
Jul 10, 2013
I 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.
View 6 Replies
View Related
Apr 30, 2013
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.
View 8 Replies
View Related
Jun 8, 2006
In 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 Related
Jan 27, 2014
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 Related
Jul 23, 2005
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?
View 2 Replies
View Related
Jul 19, 2005
All of a sudden I get this message when I try to change the materials of any part within my workspace folder. I looked at the project and everything looks fine. I can save the file but cannot change or add anything now.
View 5 Replies
View Related
Jul 19, 2013
I 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]........
View 3 Replies
View Related
May 15, 2008
I'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 Replies
View Related
Apr 30, 2012
i want to export my part list with ilogic in a excel template but dont want all the part list column and dont erase the column i skip in excel?
View 3 Replies
View Related
Sep 11, 2013
I am looking for information on the option parameters, any documentation?
I found some code to query what parameters there are (Rule: GetTranslatorOptions), just not sure what the enumerations are for some.
Specifically: ExportUnits, Resolution
Using Rule:ExportSTL
I have changed the Export Units from 1 to 4 and do not see any change to the STL ASCII output.. not sure what this parameter does... Expected it to be an enumeration of the drop-down box that you see during "manual" exporting.
View 1 Replies
View Related
Jul 5, 2013
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
View 5 Replies
View Related
Oct 3, 2013
I have a symbol that when I insert it into my dwg, I would like it to trigger a rule to create custom properties and fill out those properties. Ive already created a rule that is 100% working, I am just curious if its possible to have that rule triggered when I insert a specific symbol?
View 3 Replies
View Related
Oct 4, 2012
I am looking to apply a set part number iproperty to the first, then second, then third components in the assembly browser tree in my iLogic rule, regardless of their current part number. (I need to select them by their position in the browser tree as their part number will vary). How do I do this?
View 1 Replies
View Related
Dec 13, 2012
I am completely new to ilogic but would like to make a rule in my idw file that change the hatch pattern in a section of a specific material.
Short Version:
I have an aluminum extrusion part. Material is set to Aluminum-6061. In any section view of this part I want the hatch to be ANSI 31 with a rotation of 45 degrees and a scale of .02 How do I do this?
View 1 Replies
View Related
Sep 9, 2013
I have a small problem with iLogic forms picture folder. Is there a way of seting the image by the selected tab ?
I want to update the image by the tab selection.
I have tried "if" or "select case" and neither one worked. as I am saying Stair_Properties = True it only makes the tab active. It doesnt indicate if it is selected, here is the code :
If Stair_Properties = True ThenImage = "Image 01"End IfIf Railing_Properties = True ThenImage = "Image 02"End IfIf Riser_Properties = True ThenImage = "Image 03"End If'Select Case Image'Case Stair_Properties'Image = "Image 01"'Case Railing_Properties'Image = "Image 02"'Case Riser_Properties'Image = "Image 03"'End Select
View 1 Replies
View Related
Aug 5, 2011
What is it for and how do I use it? Will it allow me to switch between different pictures for display on my iLogic form?
If so? How do I set which picture to display?
View 5 Replies
View Related
Apr 17, 2013
I'm trying to create an ilogic rule that will look within the folders of an assembly and take the contents of each of those folders and demote them to separate sub-assemblies.
ie. Assembly1 contains NewFolder 1. NewFolder 1 contains Part1:1 and Part2:1. Upon executing the ilogic rule, I would like Assembly1 to contain NewFolder 1 and within NewFolder 1, Assembly1-01. Assembly1-01 contains Part1:1 and Part2:1. I would like this ilogic rule to look within each successive folder within Assembly1 and demote them according to their position in the browser such that NewFolder 1 - at the top of the browser list - contains Assembly-01, NewFolder 2 contains Assembly-02, etc.
I currently copy a master assembly with browser folders that contain parts and sub-assemblies to a secondary assembly where I manually demote the contents of the folders to sub-assemblies. When I create a drawing for our machine assembly department, the demoted sub-assemblies to isolate only those parts - nuts, bolts and the pieces they fit to - so it is easier for the assembly department when putting a machine together.
Is it possible, using ilogic, to demote folder contents to sub-assemblies with an assembly document?
View 2 Replies
View Related
Dec 3, 2013
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.
View 2 Replies
View Related
Apr 24, 2012
Is there a way in an inventor drawing rule to do a "save as" which saves the drawing as an Inventor dwg file rather than an AutoCAD dwg file?
The below saves as AutoCAD which is ok but I need the outputted drawing to be linked to the model. I don't want the code to save the entire assembly as this is done further down the line. I also don't want to save the current inventor dwg drawing from which the rule is run as this is just a template drawing.
ThisDoc.Document.SaveAs(ThisDoc.Path&"2D_DRAWINGS"&iProperties.Value("Custom", "Drawing No.")&" (Rev "&Parameter("BEAUFORT_ARRANGEMENT_3.iam.DRAWING_REVISION_NO")&")"&".DWG", True)
View 1 Replies
View Related
Oct 24, 2012
I'm currently using this rule for easy PDF making
SaveLoc = "C:Temp"FileName = ThisDoc.FileName(False)Revnr = " rev_" & iProperties.Value("Project", "Revision Number")PDFnaam = SaveLoc & FileName & RevnrThisDoc.Document.SaveAs(PDFnaam & (".pdf") , True)MessageBox.Show("PDF is aangemaakt in C:Temp", "Document creation",MessageBoxButtons.OK,MessageBoxIcon.Information)
The problem with this is that i want to save without lineweight? is there anyway to do this with this code?
View 2 Replies
View Related
Aug 3, 2010
I want a part automatically to be "saved as" in my workspace.
there is the command
ThisDoc.Document.SaveAs(NewFileNameAndExtension , True)
in the browser of iLogic but I don't know how to use it.
I tried ThisDoc.Document.SaveAs("partname.iam", True)
but that's couases a error.
View 4 Replies
View Related
Apr 11, 2013
I have a template part that I would like to save automatically once the parameters dialog box is closed. I would also like the Save As filename to automatically be filled in with a iProperty named "Part Name". I already have the "Part Name" description grabbing information from parameters. Is this possible? And is the best way to trigger the event after an "iProperty change" or "Any Model Parameter Change"?
View 1 Replies
View Related
Dec 3, 2010
I would like to use iLogic to do a File Save As and have the dialog box open in a specified folder. I have tried the code below but it doesn't work.
oFileDlg.InitialDirectory = "J:" & strFolder & (".dwg")
oFileDlg.ShowSave()
View 2 Replies
View Related
Sep 13, 2011
I am having a bit of trouble finding the correct code for some automated ilogic in inventor 2011.
I am trying to achieve an automated rename and save process for an assembly file as well as the variable parts in the file.an example would be a steel column...
Open ilogic steel column, run rules to change column length and section size...then save a copy to workspace, but also to a specific folder in the workspace..also rename the column file and save.
i have this for file saving -
SyntaxEditor Code Snippet
Test=InputBox("Add File name", "Please Add your file name", "Prefix number - File - .iam")
ThisDoc.Document.SaveAs(ThisDoc.WorkspacePath()&Test, True)
Which works fine to save the new assembly, but i need the same for the variable column within the assembly, and also to save to a specific folder not just the workspace top level.
View 9 Replies
View Related
Dec 18, 2013
I'm trying find some code that will allow me to save a PDF in 2 different locations.
I want to save a copy on my C: drive - this part has been done, but I'd like the code expanded to save a copy on the F: drive (under a similar path to that on the C: drive.
For example, for drawing XXX-XXX.dwg (C:Vault WorkspaceCADSalesEnquiries201313-XXXDrawings), I would like a PDF created in C:Vault WorkspaceCADSalesEnquiries201313-XXXDrawingsPDF (this part has been done) and i would also like a copy saved in F:SalesEnquiries201313-XXXDrawingsPDF.
I do not know which will be easier; to create 2 PDFs, or create 1 and copy it to F:
View 2 Replies
View Related
Oct 25, 2013
I currently have ilogic code that automatically saves a template Inventor dawing as a job drawing. However the problem I am having is when it does this save it takes forever as it seems to be also saving the linked model also. Is there a way to save this Inventor dwg without saving the linked model? The reason why I do not want this model save is because after the drawing is outputted the user is given options to write part numbers and dxf files if required which requires a model save anyway.
Sample of code used:-
ThisDoc.Document.SaveAsInventorDWG(ThisDoc.Path & "2D_DRAWINGS (Inventor dwg)" & iProperties.Value("Custom", "Drawing No.") & ".DWG", True)
View 1 Replies
View Related
Mar 1, 2013
I have the following
strFile = ThisDoc.FileName(False) & "-Rev " & iProperties.Value("Project", "Revision Number")ThisDoc.Document.SaveAs(strFile & (".dwg"), True)ThisDoc.Document.SaveAs(strFile & (".pdf"), True)
And it works like a charm for pdf, but it does not export to .dwg?
And also, is it possible to decide where in the name the "-Rev " &iPro....should appear?
Ex. if the filename should be : "12345 - Rev 02 - Section cut"
View 1 Replies
View Related
Sep 5, 2012
I seem to have my task accomplished, but Inventor crahes on me after it is done.
Here is how my iLogic works.
' Deleting the suppressed parts from the assembly
Dim compDef as AssemblyComponentDefinition
compDef = ThisDoc.ComponentDefinition
Dim compOcc as ComponentDefinition
For Each compOcc in compDef
[Code] ........
Now as soon as the last line is executed, Inventor crashes.
But when I go to the save file part (C:MyPath), both the parts and assembly files are saved and if I open it, they work just fine.
I just can't get inventor to stop crashing.
View 7 Replies
View Related
Jul 7, 2011
My question: We want to use iLogic to save a PDF-file of the DWG-drawing every time we hit "save". We now use the following iLogic
Spoiler (Highlight to read)oPath = ThisDoc.Path PN = iProperties.Value("Project", "Part Number")
PDFAddIn = ThisApplication.ApplicationAddIns.ItemById("{0AC6FD96-2F4D-42CE-8BE0-8AEA580399E4}")
oDocument = ThisApplication.ActiveDocument
oContext = ThisApplication.TransientObjects.CreateTranslationContext
[Code] .....
View 9 Replies
View Related