AutoCAD VB :: Command (macro) To Unlock All Locked Layers?

Aug 16, 2011

Create a command (macro) to unlock all locked layers and remove the fade effect.  I know how to unlock them by using the command LAYULK, selecting the entities on the locked layer.  I have been trying to automate the command so I don't have to select entities. 

View 4 Replies


ADVERTISEMENT

Photoshop :: Unlock Locked Layers

Jun 4, 2008

I have been sent a template that contains 4 fully locked layers. I seem unable to unlock them to enable me to edit them. Can someone advise how to do this in cs3.

View 8 Replies View Related

Photoshop :: How To Find All Locked Layers (visible Or Not) And Then Unlock At Once

Sep 19, 2012

I was on a tight deadline. I got a massively layered, -- nested folders everything --  .psd. I'm using Photoshop CS 5.5
 
I only needed the visible layers.  So, I go to "Delete Hidden Layers" right? Ooops it was grayed out, I could not use it -- that was because of the locked layers...
 
Then I realized -- in the complicated layer structure I had to go through every single folder, open it, look for a locked layer and unlock it (nested folders inside of nested folders etc.). If the layer was not visible and it was locked, I had to first turn it to visible, then unlock it, and then turn it off again.
 
I was on a deadline, and I just didn't have time -- but I had to do it anyway. This was a painful experience... I'm telling designers from now on NEVER SEND ME A PSD WITH LOCKED LAYERS AGAIN
 
It would have been so much easier if I could just search for "locked layers", and "unlock all."

View 6 Replies View Related

AutoCad :: Unlock A Locked Xref For Editing?

Oct 23, 2012

How do I unlock a locked xref for editing?

I have a title block i want to edit the text in, but it's locked! Don't know how this happened, nor how to unlock it...

View 8 Replies View Related

AutoCAD 2010 :: How To Unlock Automatically Locked For Editing

Mar 1, 2013

My colleague made some drawings using AutoCAD 2011. Somehow the sheet status in Sheet Set Manager says all the drawings are locked for editing - it was unintentional. The drawings can be fully viewed only from the computer, which created the drawings.  In other computers, we can only see the text. The model view and the bottom of the drawing which contains drawing number and other info do not show.

We need to deliver our drawings to the customer so they can see the coordinates in the maps/drawings. 

How could we change the status or unlock it so the customer can view the entire drawings? If possible, we still want the drawings unable to be edited.

In our computer, we have AutoDesk Vault - did it somehow kicked in automatically?

View 4 Replies View Related

Photoshop :: Locked Layer - How To Unlock

Mar 13, 2013

one layer in a photoshop document has a padlock on it; no clue how it got there. I can't make it go away; perhaps the method is different in CS6 than in previous versions...
 
Any clue about this? I can't fill a selection on this particular layer...don't  know why. The layer in question IS selected, and the selection is active, etc.

View 11 Replies View Related

Photoshop :: All Images Are Locked - Can't Unlock Them - All Choices Are Dimmed?

Sep 17, 2013

all my images are locked. cant unlock them. all choices are dimmed.

View 1 Replies View Related

AutoCAD Civil 3D :: How To Unlock The Locked Survey Data In Survey Databases

Nov 19, 2013

I copied some Survey Data of AutoCAD Civil 3D 2013 for Surveyors to my C3D 2013 machine few weeks ago. Now I cannot do the "Import point file" of the Survey2 Data B in Survey Databases, because the Survey2 Data B is locked up - see the attached file that has a red circle with an arrow on.  How I can unlocked the locked Survey 2 Data in the Survey Databases.

View 1 Replies View Related

AutoCAD Civil 3D :: Reverse Unlock In Drawing Command

Nov 28, 2012

When I first created my surface model, any point I moved would snap back to its original position like a rubber band.  I had to do some edits so I unlocked this by .... Survey Tab>My survey database>Survey Points>Points,  and then picked "Unlock In Drawing".  This command unlocked All points in the drawing so I could edit them. 

 Now that I am done with my edits, how do I reverse this command globally, so as to get  ALL points locked again (so they snap back to their original position like a rubber band if moved, like before) ?

View 2 Replies View Related

AutoCAD LT :: How To Unlock All Layers In One Click

May 8, 2012

i wonder in LT is it possible to create a button so that with a click, i can direct unlock all layers at once?

View 2 Replies View Related

AutoCad :: Unlock All Layers In Few Key Strokes

Oct 24, 2011

I am running autocad 2012...I am looking for a fast and easy way to Unlock all layers with as few key strokes as possible.....Is there a command already in Autocad that I dont know about?

View 9 Replies View Related

AutoCAD 2010 :: Macro To Create Layers And Place Text In The Layers?

Aug 12, 2013

We use AutoCad to name our dxf files for our Burn Table and whenever we get a new part it is a repetitive task to input layers and common text.  So what I am curious is can AutoCAD input the layers and text automatically using a Macro?

I want the Macro to put in 6 layers and choose the layer color and title then input text boxes with word in 3 different layers.  There will be about a total of 10 different text boxes with text already put in the boxes by the Macro.

View 6 Replies View Related

Photoshop :: How To Unlock Layers

Apr 11, 2009

I am trying to move a layer from one photo to another, both photos are from digital saved as JPEG. I selected the photo from which I want to move layers to activate itThen I selected the move tool ( icon - with arrow and cross picture)When I go to select and move the layer from the active photo - it says ' cannot execute because the layer is locked' How do I unlock the layer ?I did not alter the image or made any changes to it when I saved it, I did not even lock any layers I looked in the 'Layers' menue and there are no options for unlock Can someone tell me the pathway to unlock ?

View 9 Replies View Related

Illustrator :: Script To Unlock All Layers In File

May 12, 2013

I am running a script that batch places the name of the document in the image and then saves the document, for all documents in a foder.However, it refuses to place this text, as the target layer is initially locked. So I am looking for a piece of script that I can add to this script which will first unlock all the layers in the document.

View 3 Replies View Related

AutoCAD Inventor :: Macro / Keyboard Command For Exporting IDW To DXF?

Oct 26, 2012

I have keyboard commands set up for exporting my .idw drawings to .pdf format (PD for me.) I would also like to set this up for exporting my drawing to .dxf format. I think this can be done with a macro that can be activated by a keyboard command, but I could be wrong. I don't want to do this with an iLogic.

View 6 Replies View Related

AutoCAD .NET :: Can't Snap Locked Layers

May 12, 2012

I need an overrule that can not snaps object in all locked layers. How to do that.

View 9 Replies View Related

AutoCAD Map 3D :: 2 Layers Named 0 - Not Locked Down

Apr 9, 2013

In my layer prop manager, I have 2 layers with the name "0". How is this possible? Also, I'm trying to move the lines/polylines on either one of these layers and it won't move because it's locked. But when you look on the layer manager, BOTH of the 0 layers are not locked down.

View 5 Replies View Related

AutoCAD VB :: Why Does Locked Layers Not Fading With VBA

Dec 29, 2012

I have this application: It's a userform with a combobox filled up with all layers. There also are 2 commandbuttons and a label.When I apply the command button all the layers except the selected layer in the combobox lock. That's good.This is the problem:

Normaly when I lock a layer it is fading (laylockfadectl 80). But when I lock layers with this vba code it doesn't fading locked layers.

Option ExplicitPrivate Sub cmbx1_Change()Label1.Caption = cmbx1.ValueEnd SubPrivate Sub cmdAPPLY_Click()On Error Resume Next 'handle exceptions inline
Dim objlayers As AcadLayersDim objlayer As AcadLayer
Set objlayers = ThisDrawing.Layers 'make the layer selected in the combobox current
[code]....

View 1 Replies View Related

AutoCAD Inventor :: Macro-command To Change Title Block In IDW

Feb 11, 2004

Is there any macro-command to do this :

"Open the .idw that you created your title block in. Locate and right click on your title block in "drawing resources". Select copy. Open the file that you want to put your title block in. Right click on "drawing resources" and paste your title block there. Now you will have to delete their title block and then activate yours. "

I want to change my drawing template and I have many to do and it must have somewhere somehow a way to do this automatically?

View 8 Replies View Related

AutoCad :: Modify Existing Viewport In Macro Or In Command Line?

Jun 4, 2013

Can I modify an existing viewport in a macro or in the command line?

Using a macro, I want to modify (specifically delete) the viewport from a layout tab after chspace from model space.

I have LT so no LISP. qselect works but cannot be put into a macro.

If I "select all" on a layout tab in paperspace ACAD says 1 of the objects selected is the viewport so I know autocad recognizes the viewport as a different kind of object.

View 6 Replies View Related

AutoCAD 2010 :: Drawing XLINE - Command Locked Into Either Horizontal Or Vertical Mode

Jul 30, 2010

this in an issue ive noticed for a long time now across a few versions of ACAD, not sure whats causing it. When i try to draw an XLINE sometimes the command will get locked into either horizontal or vertical mode, without me choosing that option. seems to based on the OSNAP pickpoint i grab maybe.

attached are pics of the process.

i run XLINE, pick endpoint and bam, its locked into horizontal mode, very annoying if im trying to make a vertical and horizontal line based off the same point.

View 5 Replies View Related

AutoCAD LT :: Where To Set Fade Control Of Locked Layers

Dec 10, 2013

where is the setting to change the Fade Control when you lock a layer?(It is not the same as the Fade Control of the External References in the Display tag of the Options dialog.  I know that one and I am aware of this one.)

The one that I want to know is of the locked layers.  When I lock a layer, the objects in the layer fade.

View 5 Replies View Related

AutoCad :: No Dotting Of Locked Layers While Selecting?

Sep 7, 2012

locked objects get selected, but nothing acts on them. that is i do see them getting dotted while i selected all objects on other unlocked layers. is there way that locked layers don't get dotted while selection? just like in sketchup?

View 5 Replies View Related

AutoCAD Inventor :: Prevent User To Start Other Command While Executing A Macro

Feb 21, 2013

I have a macro that automatically creates a Detailed view on a sheet. It works on 2 input's:

- mouse click 1 (set's the target to be detailed)

- mouse click 2 (set's the location where the balloon should be)

The code works fine. But sometimes the user will start another command, or restart the same command, while it is still running. This off course gives all kinds of problems.

Is there a possibility in VBA to prevent the user to start another command while this command is running?Or is this problem a part of the clicking itself?

Here is my (it uses a Class Module called: clsGetPoint, see code below)
Sub AutoDetailedView() On Error GoTo ErrorManagment '(error handling 2013/02/18) 'step 0 Create a transaction. -> for 1 undo command Dim oTransMgr As TransactionManager Set oTransMgr = ThisApplication.TransactionManager Dim oTrans As Transaction Set oTrans = oTransMgr.StartTransaction(ThisApplication.ActiveDocument, "AutoDetailedView") 'step 1 Select a drawingView 'Set a reference to the drawing document. Dim oDrawDoc As DrawingDocument Set oDrawDoc = ThisApplication.ActiveDocument 'Set a reference to the active sheet.
[code].....

View 5 Replies View Related

AutoCAD 2010 :: Don't Want Objects On Locked Layers To Be Selectable

Aug 6, 2009

I have made gridlines and put them on a locked layer. I want to be able to see them and snap to them, but I don't want to select them. Their selectability is hindering my ability to select objects on other layers. Is there any way to make lines on locked layers not selectable? (I don't like the Autocad standard grid.)

View 9 Replies View Related

AutoCad :: How Layer Locked In Turn Not Affecting Other Layers

Apr 27, 2012

I have a question regarding AutoCAD 2012 and when it comes to locking layers.

When working on the basement layer I would like to see that layer locked in turn not affecting my other layers, ie: my house/garage/second-floor.

View 9 Replies View Related

AutoCAD 2010 :: Adjust Transparency Of Locked Layers?

Apr 16, 2012

how to adjust the transparency of locked layers?  Also when I isolate a layer the other layers appear semi transparent, is it the same setting to adjust this transparancy as well?

View 2 Replies View Related

AutoCAD VB :: All Layers Locked Except Active Layer Chosen In Combobox?

Dec 21, 2012

I have a form with a combobox and a commandbutton.

 All layers in the layermanager must be locked except the active layer chosen in the combobox. I try it with this code but it’s not the right solution.

Private Sub CommandButton1_Click()Dim layer As AcadLayer'check if all layers are lockedIf layer.Lock = False Thenlayer.Lock = True'make the layer selected in the combobox currentThisDrawing.ActiveLayer = ThisDrawing.Layers.Item(ComboBox1.Text)End SubPrivate Sub UserForm_Initialize() Dim layerColl As AcadLayers Dim layer As AcadLayer Dim LayList As String ' all layers locked For Each layer In ThisDrawing.Layers If layer.Lock = False Then layer.Lock = True End IfNext 'fill combobox Set layerColl = ThisDrawing.Layers For Each layer In layerColl ComboBox1.AddItem layer.Name Next End Sub

 2. When I choose the for next method to lock all layers (40 layers) it’s very slow.

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Running Code As Macro (custom Command In Ribbon)

Dec 23, 2011

So I can run the following code from the command line with no problem:

  (WRK-Insert_Standards_Block '("S:\AUTOCAD\_Common\Linetypes\CSW_Civil-Linetype"))
  (WRK-Insert_Standards_Block '("S:\AUTOCAD\_Common\Linetypes\CSW_Survey-Linetype"))
  (WRK-Layer_Insert_all "CSW-X-FM_Layers_List")

However when I put it into a macro (custom command to be used from the ribbon) it spits out the following in my command line:

(WRK-Insert_Standards_Block '("S:

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Remove Blocks In Locked Layers?

Jun 25, 2012

The routine below delete group of blocks by name, but if the blocks are on locked layers, these are not removed.

How can improve the lisp?

(defun c:deleteblock (/ rn ss)(defun Jd (realname) (setq ss (ssget "x" (list '(0 . "INSERT")(cons 2 (strcat "`*U*," REALNAME))))) (mapcar '(lambda (x) (if (not (eq REALNAME (vla-get-effectivename (vlax-ename->vla-object (cadr x))))) (ssdel (cadr x) ss))) (ssnamex ss))(setq ss_len (sslength ss)) (command "_erase" ss "") ) (setq rn (vla-get-effectivename (vlax-ename->vla-object (car (entsel "
Select the block you want to delete:"))))) (jd rn) (princ (strcat "
" (itoa ss_len) " Blocks called "" rn "" has been deleted")) (princ) )

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Create Blocks With Some Of Attributes On Locked Layers

Jan 4, 2012

i am trying to restrict users from modifying certain attributes in a block,i can create the blocks with some of the attributes on locked layers, but then autocad pops up an annoying alert box, is there a way to disable this? the other option i can think of is to redefine the commands *ddedit, *attedit, *ddatte,*attipedit,

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved