AutoCAD VB :: Get Folder Name In Path
Sep 14, 2012
I am currently using this code to get the folder name (fourth) containing the current drawing.
FolderName = Dir(ThisDrawing.path, vbDirectory)
What would I use if I wanted to get the foldername one level up (third)?
ex. C:FIRSTSECONDTHIRDFOURTH
View 3 Replies
ADVERTISEMENT
Mar 2, 2012
I am new to PS scripting and trying to create a basic script to gather folder paths and then remove the path of that folder. I have created a basic array and while trying to
View 1 Replies
View Related
Feb 16, 2014
Im using the most recent version of Lightroom 5.3 (updated through CC - even though this has shown up on previous version) on Windows 7 and all the folders in my library are showing up with the directory path in front of my folder names. How can I get rid of this? I do not see any options in preferences to turn this off. I have also turned off preferences in Windows > Folder Options Control Panel "Display full Path in Title bar" option.
I have Lightroom on several computers and have set up preferences the same on each workstation, and this only shows up on one workstation.
View 2 Replies
View Related
Sep 6, 2013
I've been trying to install autocad but seem to fail because of my installation path?
I'm pretty confused of the fact that the installation path is not my default folder and when I tried to change it back, there's no way to do so. I've attached a copy of what's happening whenever I try to install it to have a better understanding of the issue. I thought it was my computer at first, but I checked all my settings and my installation path is steadily in (C folder..however autocad aims to be installed in a different path (D and then freezes. I clicked on all 3 options at the bottom (Installation - system requirements...) but nothing allows me to change back my path folder so that the installation can take place.
View 5 Replies
View Related
Jan 8, 2014
What is the best method to re-path x-refs in a project whose folder has been moved. We are talking about 60-100 x-refs here.The originals were created in ACA 2009 and were not pathed relatively; nor was Project Navigator used. We are currently using ACA 2014.
View 1 Replies
View Related
Feb 12, 2013
I'm try to write a list to produce a script file!I just want to insert a dwg file in current drawing.back to MS Windows, in case of having [space] in a folder's name, we should use "" marks:
CD "Program Files"; DEL "file 10.txt"; ....
I tried both with and without "" marks but I failed!I pasted part of my code below with result of each case:
(setq TBFile "H:z.autocadA1 A2 A3.dwg")
(write-line "-INSERT" des)
(write-line (strcat "*" TBFile) des); ; *H:z.autocadA1 A2 A3.dwg <<=should be this
(write-line "0,0" des);;insert point
(write-line "1" des);;xyz scale
(write-line "0" des);;rotation
[code]....
View 4 Replies
View Related
Sep 26, 2012
I'm currently getting the "1324 Error. The folder path 'My Documents' contains an invalid character."
when trying to run AutoCad 2010. It had been working fine previously, but now it gives this error and won't allow me to use it. I am also unable to uninstall or reinstall the program without getting the same error.
I have confirmed that the profile is not set to roaming. I have also tried deleting the registry entries as recomended here:
[URL]
The user account is local administrator. The OS is Windows 7 64bit.
View 1 Replies
View Related
Jan 15, 2013
I'm running Acad 2012 on my personal computer...no network.
Last year I set up a new Design Center 2012 folder,that linked my DC toolbar icon, etc, containing my personal block set that I use in Design Center 2012. Everything worked great. Suddenly something has changed.
1. I previously removed the stock DC2012 folder and replaced the folder with a new folder titled Design Center 2012 folder containing my personal blocks, the new folder was placed it in the proper Autodesk file location and worked fine for a year,
When I now go to DC thru the toolbar icon it takes me to the stock DC folder blocks, which I physically can't find a trace of on my computer, but are obviously still on my hard drive somewhere.
2. There is no DC2012 folder which contains the stock blocks on my computer (I have them saved to another drive), only my personal blocks are in my new DC 2012 folder.
3. If drill down thru C drive properties to the AutoCad 2012 folder in Autodesk, my personal DC 2012 items are there and functioning fine if I click them directly.
So, how can I redirect the Acad DC toolbar icon, or whatever, to recognize my "real" (personal) DC 2012 folder w/my own blocks inside instead of the stock? It worked before.
View 4 Replies
View Related
Nov 1, 2012
I've created a 23-minute video I want to burn to DVD in VS Pro 5...
At the point where I select BURN in the burning process, I get hit with a message telling me that my working folder path "may not have enough space" to allowing burning. The message advises me to change the working folder path in Preferences to enable burning. The message notes the working folder path as C:Users[My initials]DocumentsCorel Video Studio Pro15.0...
That path does exist on Drive C (where there's only around 5 Gig of space left), but when I go into Preferences to change the working folder, Preferences shows it having a path on Drive F (where there's 1.47 Terrabytes of space!)
So, how can I change the working folder path to Drive F from Drive C, when the project Preferences show the working folder path to be on Drive F, the the program itself claims the path to be on Drive C (and a search shows such a path)?
I'm running under Windows 7 Home Premium.
View 2 Replies
View Related
May 9, 2013
I am organizing my photos, and used a plug-in that keyworded all my duplicates and put them in a Smart Collection. I would like to see the folder path for each duplicate photo within the details of the grid. That is, without having to r-click and choose "show in explorer" for each photo.
View 2 Replies
View Related
Apr 10, 2012
How do I set a folder as a relative path to where the script is running?
is there any easy way like in unix, starting without / ?or for example
"~/Desktop/"
"/users/<login>/desktop/"
seems that path to me is the only way...
is there an easy way to change posix paths to applescript??
I have this code:
tell application "Finder" to set templateFile to (container of (path to me) as string) & "Graficas FINAL ADQAT.ai"
with this error: error "No se ha encontrado el archivo Macintosh HD:Users:Vibra:Desktop:Graficas FINAL ADQAT.ai." number -43 from "Macintosh HD:Users:Vibra:Desktop:Graficas FINAL ADQAT.ai"
the file is there how I change the filepath to be compatible with applescript?
View 3 Replies
View Related
May 24, 2012
I was hoping to define a tree of (smart) collections to match my folders tree, but coming up with a search criteria to match the folder path is proving difficult at best, impossible at worst.
Ultimately this smart collection criteria is bound for a plugin, but it's the same problem regardless of how ya do it...
View 1 Replies
View Related
Jan 24, 2012
I want to point the AutoBackup folder on each local machine, and not all at the same place. For that, I need the Variable that use MaxScript to take the WindowUser and replace it in the configuration.
Rightnow:
C:UsersmyUserAccountDocuments3dsMaxautoback
Later:
C:UsersWindowUserAccountDocuments3dsMaxautoback
I've tried the relative path, but it doesn't work properly
View 1 Replies
View Related
Dec 18, 2010
I am a licensed user of PaintShop Pro X3 with all current updates installed. Yesterday I purchased the ultimate bonus pack online ( Winzip,Painter Essentials, User Guide,KTP and Photolooks) from Corel.The photo looks plugin installed with no problem. The Corel KPT Collection (PSPPX3_KPT_01 set up file) would not install giving me the following error message"The path to the language folder could not be resolved, setup cannot continue".I use Win 7 64 bit
View 6 Replies
View Related
Dec 4, 2013
AND/OR a open tab recovery cache or way to extract the images that get lost during a crash of PDN.
Number two on my list behind your fantastic new layer functionality that I had been dreaming about for three years. I NEVER close PDN. The ONLY time it closes is once every week or two when the 20, 30, 50 tabs that I have open, finally overwhelm my system. I bounce back and forth so much that there is no way to continuously save them as I make changes cause it would jack up my workflow by taking up too much time.
No way around it, this is just how I work. It would be lovely if PDN was able to, similar to After Effects, popup an error box saying it was about to crash and did 'you" want to save the session. Especially, now, with 4, as while it is a super duper version upgrade, the crashes were daily, with me, and I couldn't keep losing that much data. Sophie's choice, for me. The old layer window or daily crashes.
View 6 Replies
View Related
Jul 12, 2012
I created a new drawing in a project that already has a data shortcut folder created. How do I attach to it?
What is the difference between "Set Working Folder" and "Set Data Shortcuts Project Folder"
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
Jul 11, 2012
I have many drawings that were created with the xref's as full path and I need them to be relative path. I would just go in and reatch them as relative path but the drawings are complete and there are different layers frozen in each one.
View 4 Replies
View Related
Aug 31, 2012
Is there a way to change an xref from saved "full path" to "relative path"?
View 1 Replies
View Related
Nov 12, 2012
I have found a way to convert FULL to RELATIVE using XRP2004.lsp but not the other way round. Main reason I want to do this is to change the Relative to Full, move the drawing and then revert them back to Relative.
View 3 Replies
View Related
Feb 9, 2012
Actually, I have more than 6 years experience on Catia V5 customization and vb and vb.net catia API's. What I am trying to do know is converting some applications or programs running on catia to the inventor.
The first program deal with the inventor API relating to the SweepFeatures class. So my first problem is about to find the right way to use the sketch3D for the creation of the path which is the input of the sweep method.
(oInvPartFeats.SweepFeatures.AddUsingPath(oInvProfile, oInvProfPath3D, kNewBodyOperation).
I know That is possible to create a path by using the CreatePath method when the input is SketchLines or any guide curve in the 2D Plan. Also, I tried to generate path by using the ProfilePath3D method of the sketch3D class but No way, the AddUsingPath method of the SweepFeatures Class doesn't accept it as path Input.
So I cannot imagine that is limitation of inventor because it was possible to do it by using the seep function of the model tab in the ipart document. How to create the path object as an input of the AddUsingPath method of the SweepFeatures class.
View 1 Replies
View Related
Mar 1, 2013
I am attaching a File as a xRef. At the time of Attachment, I select attach as attachment, and No Path in Path.
Now if I try to fetch detail of this file using MdiActiveDocument.Database and BlockTableRecord, I gets only file name not the path. However, In AutoCAD we can see the file path under "Found At". Can we read / fetch this using C#.
In case of Full Path or relative Path, I gets full path in btr.PathName
Here is my code and I am using AutoCAD 2013
Database db = acadApp.DocumentManager.MdiActiveDocument.Database;
using (Transaction Trans = db.TransactionManager.StartTransaction()) {
BlockTable BlkTbl = (BlockTable)Trans.GetObject(db.BlockTableId, OpenMode.ForRead,false,true);
db.ResolveXrefs(false, false);
[Code] ...........
View 1 Replies
View Related
Aug 22, 2012
Not sure if it's a bug or not but when removing a whole project the "random" folder(s) are still in the Media Storage folder. Everything connected to the project(s) are gone but not the random folder smoke creates when creating project files. Any specific reason their still in the Media Storage folder?
Im a bit of a neat-freak... After removing a whole project, is it safe to remove all the empty folders? Or would that cause problems for other projects?
View 5 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
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
Jun 10, 2013
I have another question about installing LR5. How do I manage to install the program to a special folder and not the custom folder on drive c:?
I just run the installation through application manager. I set the installation folder within my presets to d:adobe...
But anyway it was installed on hard drive c:
A direct download of the installer from adobe is not possible unfortunately.
View 6 Replies
View Related
Feb 24, 2014
I was in the process of moving a folder inside or LR. I might have clicked and moved it twice since it was very slow. LR wasn't able to complete the move and gave me an error message. After I clicked "OK" on the error message, I wasn't able to find my folder/images from the old or new location. I did a spotlight search on my mac, but I wasn't able to find them anywhere. Where has my folder/images gone? I tried to locate them without any success.
View 2 Replies
View Related
Jul 17, 2013
I've got about 10,000 photos that I've moved in lightroom by creating a folder called 'pictures' on the external drive using the left folders panel. I then selected all the images in the root drive on my computer and dragged them onto the 'pictures' folder on the external drive, and I expected the folder structure to come with it. Only after I realised that they had all moved into one folder. Is there a way of moving the images back into a structure without manually doing it? Here's a screenshot.....
View 9 Replies
View Related
Aug 17, 2013
I just finished importing my photos to Elements, and was going to add the folder I keep them in to my watched folders, to keep them up to date. Since everything imported just fine, I was surprised to find that I got the following error when trying to add the folder:
The Watch Folder service returned an error: Access is denied.
I looked around the site using search and Google, and found a few other occurences of this error, but they all only show answers that apply to network shares. The folder I am trying to watch is not a network drive that I have to use a \serverfolder format to access, as the folder is located on my hard drive under C:UsersusernameGoogle DrivePictures.
Elements Organizer 11.0.0.0
Core Version: 11.0 (20120830.r.32025)
Language Version: 11.0 (20120830.r.32025)
Current Catalog:
Catalog Name: Google Drive Photos
Catalog Location: C:ProgramDataAdobeElements OrganizerCatalogsGoogle Drive Photos
Catalog Size: 31.5MB
Catalog Cache Size: 68MB
System:
Operating System Name: Windows 8
Operating System Version: 6.2
System Architecture: AMD CPU Family:15 Model:10 Stepping:0 with MMX, SSE Integer, SSE FP
Built-in Memory: 7.2GB
Free Memory: 5.2GB
Important Drivers / Plug-ins / Libraries:
Microsoft DirectX Version: 9.0
Apple QuickTime Version: 7.74
Adobe Reader Version: 11.0
Adobe Acrobat Version: Not installed
View 4 Replies
View Related