AutoCad :: Set Command Acdnavigate To Current Drawing Folder?
Dec 6, 2013is there a way to set the command "acdnavigate" to the current drawing folder?
View 1 Repliesis there a way to set the command "acdnavigate" to the current drawing folder?
View 1 RepliesHow to create lisp which i can simply type in to the command bar so that the current drawing's filepath-folder will be automatically opened by windows explorer?
running AutoCAD 2012 / Windows 7...
I have been trying to use the tcase command to change text case on a current drawing. some of the text is listed in properties with :A1 and various other squares and ( etc .). Any way to change this text. When I try exploding it and changing to mtext the fractions and all parts of the text is exploded as well.
View 9 Replies View RelatedIs there a quick command that lists all current frozen layers in your drawing? I am using Autocad 2012. We recently switched from 2006 in which the quick command YT would show all frozen layers and allow you the option to thaw them. We were using ArchT so Im not sure if that was something associated with that.
View 1 Replies View RelatedIs there a macro/script/deisel that will automatically print a pdf (cute pdf autocad lt 2007) to current plot settings in current drawing directory and give it the current drawing view name and number? Disk space not a problem these days and would save time to have a pdf copy of all drawing tabs readily stored in the directory ready for issue.
View 3 Replies View RelatedI want to insert another drawing layout tabs contents in current drawing.
It's easy for MODEL tab, but for LAYOUT tabs, I dont know how!?
I prepared a code for INSERTING MODEL tab in current drawing:
(defun INS_DWG (TAB path dwg P / blk)(setq blk (strcat ""*" path dwg """));(setq N (vla-get-count (vla-get-layouts)));;Number of LAYOUT TABS in dwg(if (or(= TAB 0) (= TAB nil))(command "INSERT" blk P 1 0)); TAB=0 or omitted ==>Insert MODEL;(if (= TAB 1));==>Insert the 1st LAYOUT in dwg file;(if (= TAB 2));==>Insert the 2nd LAYOUT in dwg file;and so on....);;;usage:;;(INS_DWG 0 "c:\test\" "test.dwg" '(0 0))
In the hatch dialogue there is a setting to target the hatch to a specific layer. How does one set the default to ALWAYS be "Use Current"?
Attached jpg shows the target layer as ffbrg, but I want that to ALWAYS read "Use Current" when creating a NEW hartch. In other words, I am happily working in a specific layer creating all these hatches and then realize LATER that all the hatches were in different layers causing great confusiion and havoc.
I am familiar with the LAYMCUR command to select an object and make that layer current. I am hoping there is a command to select text or a dimension and make that style current. I can't fine such a command. I have to select a text, see what style shows up in the box at top, go to the text style box, find the style and make it current. It seems like unneeded steps. It's simple for layers, why not text and dimensions?
View 3 Replies View RelatedWhen making a scipt in photoshop ( let's say resize and save) the box ask for a folder where to save
If you want to run automation you have to say which folder where to get the photos (including or not sub-folders) and a folder where to save
how is it possible to save in the current folder without telling which folder ? just save !
After a little re-organizing, lightroom has started putting new files into a new 2011/date folder, rather than continuing the old. It's driving me nuts, because I can't figure out how to get it to align again.
How do I get it to continue the dating, rather than starting over? I've already tried exporting the catalog and re-opening with it. Still doesn't continue.
I'm running the following string in a routing that is looping so I get dozens of these prompts. How to supress these? Or, do i have to use to entmake?
(begin loop...
(command ".-Mtext" CSW-Tpoint "W" 0.0 (vl-filename-base (vla-get-imagefile image)) "")
);end loop
Prints to the command line..
Current text style: "Standard" Text height: 0.0833 Annotative: No
Current text style: "Standard" Text height: 0.0833 Annotative: No
Current text style: "Standard" Text height: 0.0833 Annotative: No
Current text style: "Standard" Text height: 0.0833 Annotative: No
I'm trying to use some images in my ScriptUI dialog, but I want to use a "relative" path name, and I can't seem to get it to work.For example, this myScript.jsx works just fine, but as you can see, I'm using an "absolute" path name to transparencyGrid.jpg:
var w = new Window ("dialog");
var f = new File ('~/Desktop/transparencyGrid.jpg');
w.add ("image", undefined, f);
w.show ();
However, I want to be able to use a relative (to myScript.jsx) path to point at transparencyGrid.jpg, like this:
var w = new Window ("dialog");
var f = new File ('../../../transparencyGrid.jpg');
w.add ("image", undefined, f);
w.show ();
But, I can't seem to get this to work because relative paths seem to be relative to the current folder, Folder.current, not the location of the currently executing script.I say that because when I do this:
alert(Folder.current);
The only thing the alert message shows is a backslash (/), indicating to me that the current folder is the root of my OS, but I thought it would be the folder where myScript.jsx resides.
So, is there a way of setting Folder.current to the location of the actual script?
I am trying to find out what the current DimStyle of the drawing.
I have iterated through all DimStyle but can’t find any way of finding the current Style.
For Each DsrID In DST Dim R As DimStyleTableRecord = CType(DsrID.GetObject(OpenMode.ForRead), DBObject) Debug.Print(R.Name)Next
How can i get number of layout in the current drawings?
View 3 Replies View RelatedHow to save current drawing file using save method.
View 3 Replies View RelatedI attach x-ref in one of the drawing......and then next day i open drawing is show but xref does not not show and i gives that message..............
Error: Possible circular reference to current drawing. *Invalid*
what should i do?
I am using vb.net and I need to find the directory path that my current or open drawing is located in. I'm not sure how to get this from vb.net.
View 4 Replies View RelatedI am new to .net. how to get a list of the xrefs in the current drawing?
View 2 Replies View RelatedI am trying to write a quick macro to open the current drawing in the block editor. I can easily do the steps from the dialog box to open the current drawing, but the command line version give me an error.
Command: -bedit
Enter block name or [?]: <current drawing>
(A message box pops up saying, "The name cannot be longer than 255 characters."
If I click ok on the message box, AutoCAD returns to model space. The file name is 30 +/- characters, and the path is maybe another 50 to 100 characters. Can I bedit the current drawing using the command line, or must I use the dialog box?
LT, C3D 2005 - 2014
XP, Vista, 7
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'.
I have AutoCAD 2010 on a 2002 Windows XP Professional system. I do not know what I did to cause it but when I do a "save as" using the button, I no longer get a window. I can only save through the command bar. I cannot seem to change the save to folder using the command bar so I really need to get the window back.
View 3 Replies View RelatedIs that possible to get the current Project number and Drawing by using some vba code?
View 2 Replies View RelatedI am writing a program acts on the current drawing by using data in the SSM. If the current drawing is found to be a member of a sheet set (using sysvar SSFOUND) it cycles through all the sheet in the sheet set looking for a sheet entry that matches. Sometimes a match is not found because the layout name in the SSM does not match the layout name in the current tab (sysvar CTAB). Is there a more directly way...and one that works? I just need a reliable way to get the AcSmSheet object the correlates to the current drawing.
View 5 Replies View RelatedIf I have multiple drawings open in AutoCAD 2012 does the autosave function only apply to the current drawing open or does it apply to all drawings ?
View 2 Replies View Related1. Is there a "show quick mask" feature for showing masks?
I know Gimp has a "*Show quick mask*" feature which shows what you have(and haven't) selected by displaying a red overlay over your image,allowing you to add to or subtract from a selection by using the paintbrush, but I haven't found a similar feature for showing masks.
Photoshop has this feature (it's called 'reveal mask' I think) and it basically just shows a red overlay of your mask on your image so that,similar to the quick mask feature in Gimp, you can see where you have and haven't masked through.
(I don't own Photoshop so I'm not sure if the red overlay shows the opacity with which you've masked through or whether or not you can edit the mask when it's being shown as a red overlay.)
2. Is there a command for showing the layer underneath the current layer I'm working on?
This is another feature that I've seen Photoshop has that is useful for blending multiple exposures (and lots of things, really).
Basically it's just a keyboard shortcut for showing the layer underneath your current when you hold down a certain keyboard command (it's not something you toggle since it's meant for quickly viewing what's on the layer underneath your current one).
I know I can press space bar to show or hide the layer I'm currently working on, but I can't do that unless I focus into the layers dialogue first. It'd be nice if I could activate that functionality from anywhere,regardless of whether I'm focused on the layers dialogue.
Do either of these features exist in Gimp?
Private Sub UserForm_Initialize() Dim layerColl As AcadLayers Dim entry As AcadLayer Dim LayList As String Set layerColl = ThisDrawing.Layers For Each entry In layerColl ComboBox1.AddItem entry.Name Next End Sub
I have a form with a combobox. That combobox is filled up with all layers in a drawing. (see above)
Now I want to make the layer that I have selected (value) in the combobox the current layer in my drawing.
How can i make it current?
I need simple code to do just one thing, inserting a dynamic block that is stored in a separate file on my computer (like C:/base/b-22) in the drawing that I'm currently using. For example, I have a windows form with a list box with names of many dynamic blocks that are stored on my c drive, I would like to pick a block with a name and upon a click event of a button or other will go get this block from a separate file and insert it in the drawing I'm currently using, and would need to be able to pick the point of where I want the block to go. I'm using autocad 2010 with visual studio 2008- using the new autocad .net language.
View 9 Replies View RelatedI know you can "pull" styles from a drawing (maybe the template) into your current drawing.
Is there a way to "push" them from the current drawing to another on?
Here is what I am picturing:
Right click on a style on the settings tab and choose "Send to Template"
"Template" would either be a predefined DWT file or it would open a standard file selection dialog to select one.....and this would copy the selected style into the template.
I'm trying to automate an attribute extraction in the form of a table. I create the .dxe file but when I use this template file with -eattext (or -dataextraction), in a drawing different than the one the .dxe was created in, I still get the original table and not the one with the attribute values of the curent drawing.
View 4 Replies View RelatedWhen I set a layer as current, every object or line I select in the drawing appear to be on that layer in the toolbar. Although in the properties toolbox, I see that the line I selected is still on the right layer.
I can't work in paperspace either, when I freeze a layer it freezes all objects. It seems like whenever I give a different layer to an object, it attributes to all object that same layer.
When I open the same drawing in acad 2008, everything is ok, the objects have the proper layers.
Is there a command for that or it's an acad 2013 problem?
i have a for example a block with one attribute and would like add a new attribute. i´m trying to read the current block and redefine - it comes a new attribute in propertieswindow but not graphical.
(defun c:ent () (setq bn (getstring "
give a block name ")) (setq bez (getstring "
give a attribut name ")) (entmake (list (cons 0 "BLOCK")(list 10 0 0 0)(cons 2 bn)(cons 70 2))) (setq fe (entmakex (list (cons 0 "CIRCLE") (cons 8 "0") (cons 10 '(0 0 0)) (cons 40 1)))) (entmake (list (cons 0 "ATTDEF") (cons 8 "0") (cons 10 '(0 0 0)) (cons 11 '(0 0 0)) (cons 40 1) (cons 1 bez) (cons 3 "TOP") (cons 2 "NAME") (cons 70 0) (cons 73 0) (cons 50 0) (cons 41 1) (cons 51 0) (cons 7 "STANDARD") (cons 71 0) (cons 72 0) (cons 210 (list 0 0 1)) (cons 74 0) (cons 62 256) (cons 39 0) (cons 6 "BYLAYER"))) (entmake (list (cons 0 "ENDBLK")(cons 8 "0"))) (entdel fe) (entmake (list (cons 0 "INSERT")(cons 2 bn)(cons 10 '(0 0 0))(cons 66 1) (cons 62 256) (cons 39 0) (cons 6 "BYLAYER"))) (entmake (list (cons 0
[code]....