AutoCAD Inventor :: Loop Through Specific File In Folder
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
ADVERTISEMENT
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
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
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
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 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
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
May 21, 2012
I would like to have a rule that will add specific user parameters to a part file. These parameters need to be formatted so the width, depth and thickness will control the description of the part.
IE:
Width=4
Depth=2
Thickness=3/16
DESCRIPTION = TS <Width>X<Depth>X<Thickness>
I would like to format each parameter so that the:
Format=Fractional
Precision=1/16
Unit string=False
This is what I have so far:
oMyParameter=ThisApplication.ActiveDocument.ComponentDefinition.Parameters.UserParameters
oParameter=oMyParameter.AddByExpression("Width", "TOP_RAIL_WIDTH", UnitsTypeEnum.kInchLengthUnits)
oParameter.ExposedAsProperty=True
oParameter.Units="in"
[Code]...
The TOP_RAIL parameters are from a linked file.
View 9 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
Aug 27, 2012
I'm trying to get the filenames of some drawings in a folder. I've got the following code, but it's not working. I get a file count from the line "filecount = objFiles.Count", so it's recognizing "objFiles" as the collection of files in the folder, but everything after that simply does nothing. Oddly, I can change the "If" statement from "<>" to "=", and it still reads the "Then" statement in both cases. However, the FileName is blank.
Dim objFile As FileDialogs
Set objFile = New FileDialogs
objFile.Title = strFolderName
objFile.StartInDir = "C:Documents and Settings"
strFolderName = objFile.ShowOpen
[Code] ...........
View 6 Replies
View Related
Jul 12, 2012
I'm using the following sample code to add files to a browser folder
Public Sub AddOccurrencesToFolder()
Dim oDoc As AssemblyDocument Set oDoc = ThisApplication.ActiveDocument
Dim oDef As AssemblyComponentDefinition Set oDef = oDoc.ComponentDefinition
Dim oPane As BrowserPane Set oPane = oDoc.BrowserPanes.ActivePane
[Code]....
How do I get the files added to an existing " My Occurrence Folder" rather than creating a new one. Every time I run the code a new folder is created, it does not use the exisitng one
View 1 Replies
View Related
Apr 11, 2011
I managed to change a setting to where my files are being saved in a library folder and I can't edit them. I don't wish to continue with this nonsense. I want to be able to edit the files. I am not using a vault but still get a message that the file I am trying to open is not signed out to me. How did I manage to mess my settings up this badly. I don't remember changing any of my settings.
View 7 Replies
View Related
Jul 3, 2013
I am trying to download a file to new folder created in Autodesk 360 but this program responses in downloading some other compressed file as you can see on the video. The downloading of this not requested file lasts endless.
[URL]......
View 3 Replies
View Related
Jan 28, 2011
How do I configure AutoCAD 2010 to point to a specific folder for the plot styles (ie. *.ctb files)?
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
Nov 8, 2012
I have a vaulted project with about 1000 parts in it and a subfolder within that that has about 250 parts in it.I am told that vault does not manage references outside the project scope as defined by the IPJ which in theis case is at that 1000 part folder level.
If I go to rename the folder with 250 parts in it, it takes up to a half hour. I am having trouble believing that vault can't do better than a half hour to manage the references of a subfolder of a project with 1000 parts in it, when only 250 parts are affected.
Also, I notice a secondary ipj file is created temporarily during the renaming. That ipj appears under an inventor folder under my docs. Can't see why it takes two ipj files to manage one project. Also don't understand why there should be a local ipj file active when I am renaming at the vault level. I am suspicious that this other ipj (named after my company name, indicating a purposeful act) is expanding the scope of reference management since its parent resides at the root Vault explorer ($) separate of the projecy ipj. Also takes way too long to rename individual files.
View 2 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
Dec 7, 2011
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)?
View 9 Replies
View Related
Nov 4, 2013
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!
View 2 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
Jun 14, 2011
How 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 Related
Sep 25, 2012
Would like to set specific folder/catalog as the one to open on initial load of organizer? How?
View 2 Replies
View Related
Mar 30, 2012
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.
View 2 Replies
View Related
Sep 27, 2012
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?
View 2 Replies
View Related
Dec 6, 2012
I have a parent directory with x-amount of folders contained inside. I say X-amount because I would like to keep adding or deleting folders as time progresses. I want the folders contained within this parent directory do be read into a lisp variable and then be printed to the command prompt till every folder is displayed by name, then the loop may stop.
View 5 Replies
View Related
Aug 29, 2012
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?
View 3 Replies
View Related
Dec 13, 2011
I create an I part and I noticed it creates a folder within my main folder. This introduces a bit of chaos into my folder structure, is there any way around it?
View 5 Replies
View Related
Mar 6, 2013
I have a sphere body whose material is partly removed by a boolen subtraction with another sphere. When I query the EdgeLoop of sphere for Outer edge loop using function InvEdgeLoopPtr::GetIsOuterEdgeLoop(), I always get a value of VARIANT_TRUE. check for the inner and outer loop of a sphere? use the attached file for reference.
View 3 Replies
View Related
Oct 23, 2012
Have sketched the geometry for an 18 tooth circular sawblade. However I have had difficulty applying the close loop function. As a result am not yet able to extrude the saw blade. What to do to implement close loop?
View 4 Replies
View Related