AutoCAD Inventor :: Append Folder Location To Filename?
Apr 27, 2012
I am using this code snippet to open an idw. With this code, the idw has to reside at the same file path as the current document.
>>>>>>>>>>>>>>>>
Sub OpenIDW()
On Error GoTo Oops
Dim oDoc As Document
Set oDoc = ThisApplication.ActiveDocument
Dim sFullFileName As String
sFullFileName = oDoc.FullFileName
Dim sDrawingName As String
sDrawingName = Left(sFullFileName, Len(sFullFileName) - 4) & ".idw"
Dim oDrawDoc As DrawingDocument
Set oDrawDoc = ThisApplication.Documents.Open(sDrawingName)
Exit Sub
Oops: MsgBox "IDW File could not be found. FileName of IDW must be the same as this file.", vbInformation End Sub
>>>>>>>>>>>>>>>>>
"What if"... my idw is not at the same location, but under a subfolder instead..... like this
Part file c:designsDrawingsJobxxx
Idw file c:designsDrawingsJobxxxIDW
I am sure that this can be done by editing the line "sDrawingName = Left(sFullFileName, Len(sFullFileName) - 4) & ".idw" " . Everything I have tried did not work.
View 3 Replies
ADVERTISEMENT
Mar 6, 2013
Trying to make it where I wouldn't have to deal with the idiosyncrasies of the Project file, I created a default project that was rooted to my top level network drive.
All was fine until I did some importing from other formats. All of the sudden there was a new top level network folder called imports.
Ok, bitch session aside on the uselessness of project files, is there an entry in the project file details where I can change the location of this folder?
In SW, I was accustomed to importing a file and then saving it where I was going to use it, not in some convoluted folder structure that had no relation to my active working location.
I mean, why on earth would I want a separate folder for every little part I import?
View 3 Replies
View Related
Apr 29, 2011
I just re-install my ACAD to a new PC.
When I do plotting from DWG to PDF now, it doesn't plot to the same folder as the DWG file and the file name also. It used to do that on my old PC.
Go through the settings and it doesn't have an option to let me plot to the same DWG folder or an option to plot to PDF with the same file name as the DWG.
View 7 Replies
View Related
Jul 27, 2013
When 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 Related
Dec 9, 2012
I'm new to Elements 10 and I'm having a hard time figuring things out but 1 thing in particular. I'm on a PC and use Windows 7.I already import a lot of pic's to Elements or so I thought.
When I'm in "Folder Location" and click on a folder it doesn't display any pictures and says "No files from this folder have been imported into Elements Organizer. To add any files, right click on the folder and select "Import to Organizer"
So I do as I'm told and then i get this error."Nothing was imported. The files or folders selected to import did not contain any supported file types or the files are already in this catalog."
View 2 Replies
View Related
Nov 23, 2013
How can I search for a file with part of a filename in a given folder?
Or can I change the columns in Advanced Search so that the heading is filename?
View 4 Replies
View Related
Nov 25, 2013
I would like to know if it is possible by command to change file/folder location that are normally set up in the OPtions>Files tab.
I would like to know because everyone in the office uses a specific LISP routine on which i set some standard settings.
I would like to be able to change/add/delete file locations of the 'Tool Palettes File Location' and the 'Default Template File Name for QNEW'.
View 1 Replies
View Related
May 10, 2012
I would like to put our company programming on a Dropbox folder. I have not fully tested everything out yet, like locations of lisp files and image name...
One thing I am struggling with is an absolute path in my lisp file:
(setq FL:FLAYTAB "C:\Users\dvanerem\Dropbox\Canova and Stone\Customizations\Autodesk AutoCAD 2010\Programming\OENV-RCP.TAB")(FL:LoadTable)
I am confused how this would work with other users? Or does AutoCAD automatically correct for this?
View 2 Replies
View Related
Sep 20, 2012
We have user folders on severall servers, now I want the user menu's to be stored on the network so their home folder depends on what server it's located on. I tried using the vl-file-directory-p command but it doesn't seem to work.
Even worse, as soon as the userfolder is found I want to let the script check for a file called user.cuix in the Acad folder and if it doesn't excists copy it from another location to that folder (if possible).
This is what I got so far:
(setq UserName (getvar "loginname"))
(setq RootZW "\\users\zw\")
(setq RootVL "\\users\vl\")
(setq Company "\\CADConf\ACAD13\")
[Code] ..........
Next to this we have 4 other options as well, but to keep it short I left it at the first 2.
View 2 Replies
View Related
Jul 20, 2013
I moved the folder where all the brushes and stuff into the overall gimp folder. Originally the folder with the brushes and stuff was in Documents Settings, however now after I moved it. My brushes don't work. How do I make it so that gimp targets the new location of the folder?
View 2 Replies
View Related
Aug 4, 2012
Found one more problem with Save For Web in Photoshop CS6.
Example:
1. New Document
2. Choose - Save for web
3. In dialog window Photoshop CS6 offer to save in - os My Document Folder
4. Ok, every time I don't really need to save in os folders - I save files to my folders. So, change folder ...for example to disc D
5. Create another New document
6. Choose Save for web
7. And.... - Photoshop CS6 offer to save my file in os My Documents AGAIN !!!
So, in fact it's real uncomortable!!! ...if I save different files for web frequently ....I need every time change My Documents....it makes me nervous.......Here - compare with CS3: CS3 remember "old" folder location even at another session (for example - after reload os)
Is there any fix this problem?
p.s. Testing on:
OS - windows 7 64 bit
cs6 - 64 bit extended
cs3 - 64 bit extended
View 9 Replies
View Related
Aug 16, 2012
I just installed 2.8 and have downloaded the help files, but cannot figure out the destination folder/location for extracting them. I am using Windows Vista.
View 1 Replies
View Related
Mar 21, 2013
the location of the template folder or files. I'm not sure if it's (C:\Documents and Settings\Owner\.gimp-2.8\templates) which nothing is there. or if it's (C:\Program Files\GIMP 2\share\gimp\2.0) in which case I can't find anything there either...
I need to delete some files/templates.
View 5 Replies
View Related
May 30, 2012
I'm getting ready to build a new PC, and I'm trying to plan out how to move my LR catalog/images.
The problem is that since I've been upgrading my current PC for years and moving user data since XP. The result is that my LR catalog expects some older images to be in c:documents and settings... XP-style, others in c:usersxxx when I moved to Vista, and others in d:usersxxx when I moved my user data to a bigger hard drive. The images are actually all in one location, and there are various OS mappings that make it all work.
I'd like to avoid all this mess with my new setup. Is there a way to essentially do "update folder location" on many folders at once? Unfortunately, they are top-level and don't have a parent folder I could do that to.
Oh yeah, using x64 Lightroom 4 on Win7.
View 11 Replies
View Related
Dec 14, 2013
Windows 7, LIghtroom 4.4 - when exporting files all works fine when I set the output location to be the same folder as original. If I select 'Specific Folder' then press 'Choose' LR then Lightroom stops working. I've upgraded to LR 5.3 but the same thing happens.
View 1 Replies
View Related
May 10, 2013
I am trying to write code to collect standard info from a csv file to be added to iProperties.
Following is the code I have so far.
Dim Separators() As Char = {""c} Words = ThisDoc.Path.Split(Separators) FilName = "C:VaultDesigns" & Words(3) & "Spec_Sheet.csv"
Dim ReadCSV As New System.IO.StreamReader(FilName) Dim WordSets As New ArrayList()
Do While ReadCSV.Peek <> -1 WordSets.Add(ReadCSV.ReadLine.Split(",")) Loop
i = 0 SName = iProperties.Value("Project", "Stock Number")
For Each wrd In WordSets If WordSets.item(i)(0) = SName Then iProperties.Value("Project", "Description") = WordSets.item(i)(1) iProperties.Value("Custom", "Finish") = WordSets.item(i)(2) End If i += 1 Next
The only problem I have is that this line crashes. I am not competent enough to understand why.
Dim ReadCSV As New System.IO.StreamReader(FilName)
View 3 Replies
View Related
Nov 8, 2006
Is there a way to use the filename to drive the parameters of the file?
Example: I have a cube that is called 4x4x4.ipt its dimensions d0,d1,d2 are 4,4,4 respectively. I want to rename it to 4x4x6.ipt and have the dimensions d0,d1,d2 resize to 4,4,6.
View 9 Replies
View Related
Apr 22, 2008
I'm on an office network running photoshop. The office is set up to have roaming profiles so when a change is made to my documents and settings, each time I log in or log out, it updates the server with the changes. Additionally, when I log on to a different computer, it loads all of my documents and settings on to that computer.
The scratch disk file for photoshop last time I checked was 6GB which is enormous, and was taking forever to load whenever I log onto a new computer, as well as taking forever to up date to and from the server each time I log on to my usual computer. I delete the file each time I remember, but I don't always remember.
My question is whether it is possible to change the folder location on my C drive of the scratch disk file. I do not have an external hard drive available to use as my scratch disk. This would allow me to put it somewhere else on my C drive, and as such it would not have to update my profile.
View 5 Replies
View Related
Oct 5, 2012
Any way to allow a user to choose a folder from a default location. I thought I had found the solution but it's not quite working as I wanted:
#target illustrator
//Example 1
var output_folder = Folder.selectDialog ('Choose PDF output folder.');
//Example 2
var myFolder=Folder(app.activeDocument.path).selectDlg("Choose PDF output folder:");
If I use the code in example 1 the choose folder dialog appears and the 'Open' button is available and when I press the button the location is chosen as expected. However if I use the code in example 2, although the choose window opens in the path of the active documents location the 'Open' button is not able to be pressed until I select a folder., which means that the chosen location is not correct. I should indicate that I'm running this code on a Mac.
Any way to have a choose folder dialog window specify a location and be able to select that.
View 20 Replies
View Related
Jan 23, 2014
Is it possible to change the location of where illustrator looks for scripts, or is it possible to add a location?
View 9 Replies
View Related
Mar 25, 2014
What purpose does this option serve and what is the best way to utilize it
View 2 Replies
View Related
Nov 12, 2013
My catalog folders are organized by YYYY-MM_TRIPNAME and contain subfolders by YYYY-MM-DD_LOCATIONNAME. Often I want to find a specific image that I took on a trip. I do remember the trip name and often the location name but not the date. How in LR can I search for a folder (or folders) whose name contains the trip or location name? I haven't tagged the image files (I should have but never did). Is there a solution without having to leave LR and go to the OS?
View 1 Replies
View Related
Oct 6, 2012
I am moving files from my desktop.
I am adding them to my LR catalogue, and while moving them to one external drive, also copying the files to a backup drive.
The files are named and put in the correct folder on the main drive, but the photos backed up to the second drive are put in a folder called "Imported on October 6, 2012".
Why? How do I turn this off?
Latest OSX (10.8), Latest Lightroom.
View 4 Replies
View Related
Dec 17, 2013
I'd like to change the filename of a part before it's first save.The code would look somewhat like below.
Private Sub m_appEvents_OnNewDocument( _ByVal DocumentObject As Inventor._Document, _ByVal BeforeOrAfter As Inventor.EventTimingEnum, _ByVal Context As Inventor.NameValueMap, _ByRef HandlingCode As Inventor.HandlingCodeEnum) _Handles m_appEvents.OnNewDocumentDim oDoc As Inventor.DocumentDim Name1 As String = "New Filename...."oDoc = DocumentObjectoDoc = oDocoDoc.PropertySets("Design Tracking Properties").Item("Part Number").Value = Name1oDoc.DisplayName = Name1oDoc.FullFileName = Name1.
The code partly works when opening a template but doesn;t work when create a an in place component or frame generated part? What do I need to modify to catch and change the filename before it's saved?
View 1 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 12, 2013
Since Lion or Mountain Lion, we have had an annoying problem where the last folder location is not remembered in Illustrator. For example when updating links on multiple files, would like for the folder location to return to the last one used, but this would go to some folder 3 levels higher/
URL....Also the software seems to not have bneen updated in a long time, adn don't wnat a solution that won't last. Am on 10.8.2.
View 11 Replies
View Related
Sep 23, 2012
Can I find photos by searching folder location, using Photoshop Elements 10? I used to use that method frequently inversion 5, but don't see how to do it in version 10. I am using Windows 7.
View 2 Replies
View Related
Mar 17, 2014
When I try to create a new parent folder in Library, the naming box comes up with the message, "read only location". What's wrong?
View 2 Replies
View Related
Aug 10, 2012
After I edit photos in an external editor, my photo is moved from its original location in the folder, to a different one. The photo stays within the same folder but is moved to a new location within it. This is really annoying as I have a couple thousand photos from a trip to Europe I have been going through, and after my external editor closes and I am returned to LR, I have to find the photo which has been moved to some random spot so I can put it back to where it originally was. I want to keep my photos organized by location, so it really sucks when my photos from Turkey end up with my photos from Hungary. How I can stop this???
View 5 Replies
View Related
Dec 19, 2013
On Windows, it is possible to move the presets folder to a user-defined location?
By default the presets folder is located at C:UsersusernameAppDataRoamingAdobe. I use Lightroom on both a desktop and laptop and ideally I'd like to sync the presets between them by moving the presets folder to my SkyDrive folder. This way if I create a new preset on one device, it will automatically sync to the other device via SkyDrive.
Yes I realize I can store presets within the catalog folder and I could move my catalog to a SkyDrive folder which would technically accomplish my goal. However that would require sync'ing my entire catalog which I do not want to do; that would generate a lot of syncing traffic back and forth all the time. So I want my catalog and my presets in seperate locations, and I want to define where my presets are stored, which I haven't seen an option for.
View 2 Replies
View Related