AutoCAD .NET :: Making A Layer From Xref Current

Mar 27, 2013

I want to make a layer from external reference current.

I tried to identify it with its full name, but I got an error: eInvalidInput. So I found out, I have to use only the part behind the pipe.But then there is a problem, because this name is not unique withing the drawing.

Any number of xrefs can have such layer and also the drawing itself can have a layer with the same name. How exactly can I set a layer from xref current?

example:

layer from xref1: Xref1|LayerName1
layer from xref2: Xref2|LayerName1
layer from the drawing: LayerName1

View 6 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Change Xref Layer With Xref Name?

Jul 31, 2009

Is it possible to run a lisp which can extract all the xref names, make a layer with that name and then change the xref on the layer? I have got a similar routine from earlier posts but it doesn't work if any xrefs inserted in paper space (works fine on model space). could change this routine allowing to change the layer of xref in paper space too.

(defun dxf (i a) (cdr (assoc i a)))
(defun c:lxr ( )
(setq ss (ssget "x" '((0 . "INSERT"))))

[Code].....

View 8 Replies View Related

AutoCAD 2013 :: Data Extraction With Xref - Select Objects In Current Drawing

Dec 6, 2012

Autocad 2013 Data Extraction works if I do not include attached xrefs and set it to "Select objects in current drawing". When I check "Extract objects from xrefs"; and go to next it processes for a bit then stays on page 2 of 8 on the Define Data Source page. Also have the same error if I choose " Drawings/Sheet set" with or without the xref objects included.

View 3 Replies View Related

AutoCAD 2010 :: Layer Toolbar Won't Show Current Layer Selected

May 8, 2012

When i click on the green line has you can see on the image. The layer toolbar wont show me the right layer, like if it's not working. But i can see the right layer inside propreties.

Is there a system variable to ajust to see my layers inside the Layer tool bar?

View 1 Replies View Related

AutoCad 2D :: Create New Layer And Set It As Current In Layer Manager?

Nov 18, 2011

I'm currently using AutoCAD LT 2012 and when I create a new layer and set it as current in the layer manager, regardless of what color I set the new layer to, the new layer's color remains the same as the previous one in the properties box even though the colors of the layers are always set to "by layer."

View 3 Replies View Related

AutoCAD Civil 3D :: Making Pavement Grade Plan For Current Project

Feb 7, 2013

I have been trying to find the best/most efficient way to make a pavement grade plan for my current project. The only two ways that I know of are:

1) Home Tab->points->Create Points-Alignments->Measure Alignment then select my mainline alignment, enter a profile, enter an offset to create the points. Then assigned elevations of the points to my "pavement" surface.

2) Make lines perpendicular to your alignment (I used sample lines, exploded them to a block reference)->Make a feature line and snap at each 25' segment->Assigned elevations of the feature line to my "pavement" surface->used custom line and curve labels to label start segment z value.

My issue with option 1) is on my project there are multiple curves and I don't know of anyway that I can have the labels follow my alignment. I think the way the alignment labels work is if I would edit the label I would have to manually edit the angle and with multiple curves I don't think this would work the best.

My issue with option 2) is my project is roughly 1.75 miles long with 8 lanes and 12' shoulders, I would have to make roughly 4000 elevation points on my feature lines.

View 8 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Link Xref Layer To Local Layer - Same Display

Feb 21, 2013

Possible to link an xref layer and local layer so they display the same (eg. sync viewport colour, linewieght, line type)?

I insert xref's for my base drawing but legend is on local layers and I would like to be able to ensure that the line colour and linetype always match...

View 4 Replies View Related

AutoCAD 2010 :: Turning Off A Xref Layer / Active Layer

May 3, 2013

Is there a macro or lisp file that allows you to click on a element in the xref or active file and turn it off?

View 5 Replies View Related

Photoshop :: Making A Current Jpeg Transparent

Jan 1, 2009

I can not find the next step for completing a transparent image (Jpeg file) in Photoshop CS version 10. I remember in the last version you used the magic wand to select areas and then hit help and in the drop down selected convert to transparent image and it would take you through the next step by steps. I can not find this how do I complete this now in the new version?

View 3 Replies View Related

AutoCad :: Making Site Map For A Building - Scaling XRef Image

Feb 17, 2013

So I am trying to make a site map for a building my buddy just bought. I found a lot map on the city's online database, cropped it to the area of his lot's block, and saved the image file. I then opened up a new autocad file and xreferenced the image. I know the front of his building on the site is 45' so I made a polyline that is the length of the facade over top of my xref image. Then I selected the image, used the scale command, selected one side of my polyline as a basepoint, used reference, entered 45' as the known length, and then selected the other end of the polyline. My image scaled but is now incredibly small. So small that the entine site isn't even 1". I keep trying but I'm doing something wrong somewhere.

View 2 Replies View Related

AutoCad :: VP Freeze A Layer In All BUT The Current VP

Sep 17, 2013

I'm working with a DWG that already has a-gazillion VPs.

I'm currently making new layers, but the "New VP Freeze" option only seems to apply to new VPs made AFTER the creation of the layer.

I need the new layers I'm making to be Frozen retroactively, if you will, in all previously-made VPs.

Short of going into each and every VP and manually VP Freezing these few layers, what can I do?

View 1 Replies View Related

Photoshop :: Create New Layer *under* Current Layer?

Sep 21, 2006

way to do this from the layers menu (ctrl-click new layer icon), but is there a key combo? I use shift-ctrl-n a lot to make new layers, but often I need to make a new layer *below* the current layer.

View 1 Replies View Related

AutoCAD .NET :: Obtain The Current Layer State?

Sep 10, 2013

how to obtain the current layer state?

View 5 Replies View Related

AutoCAD Map 3D :: Lock Current Layer - Turning On / Off

Apr 9, 2012

Is there a way to lock the current layer (to say layer 0) so that is STAYS the current layer regardless of my isolating, turning layers on and off etc?

Really annoying to keep getting those "Are you sure you want to turn off the current layer" messages and it would prevent me from either drawing thing on a layer I don't intend to, or drawing on a layer which is off (which confuses me every time).

View 4 Replies View Related

AutoCAD Civil 3D :: Insert Label On Current Layer?

Mar 20, 2013

I use the same label style for multiple objects (surfaces) with different layers (i.e. Concrete, Pavement, etc.) I have the label style set to Layer 0, to take on the layer properties I want the label on. When I insert a label, it defaults to Layer 0, then I have to change it's layer. Is there a way to insert a label on the current layer?

View 4 Replies View Related

AutoCAD 2010 :: Unable To Change Layer To Current

Jun 14, 2011

I cant change layers and make it current. The layer manager is stuck on layer 0.

View 8 Replies View Related

AutoCad :: Blocks From Palettes Coming In On Current Layer

Nov 7, 2011

I thought when you created a tool pallet with blocks on a certain layer and put them in your drawing that the block would be placed on the layer it was created on? When I put a block that was created on 0 layer it will insert on my current layer? These blocks are on a network and I am the only one that has rights to modify them.

View 5 Replies View Related

AutoCAD 2013 :: Suppressing Current Layer Off Dialogue?

Sep 12, 2013

Had a trawl through the options and settings - couldn't find a way to stop this message appearing? Even EXPERT <1> didn't stop it.

View 3 Replies View Related

AutoCAD 2010 :: Insert Block To Inherit Current Layer?

Jan 12, 2010

There are certain occasions where I would like to insert a block to inherit the current layer in an active AutoCAD drawing. This happens frequently when a client requires a certain layering standard and I have a block from another drawing with different layering standards. To correct this it usually involves several steps - Explode and change the layer, setbylayer, bedit, etc,

Is there a command to where I can directly insert a block and its layers change to the current layer of the active AutoCAD drawing?

View 9 Replies View Related

AutoCAD VB :: How To Make The Selected Value In Combobox Current Layer In Drawing

Dec 19, 2012

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?

View 2 Replies View Related

AutoCAD LT :: Set Default Layer Setting In Hatch Command To Use Current

Feb 1, 2012

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. 

View 9 Replies View Related

AutoCAD Civil 3D :: Station Tick Marks Take On Current Layer?

Feb 24, 2011

Using C3D 2010, I have a drawing that has a horizontal alignment and it is stationed.  I see text at every 100 feet and tick every 50 feet. Perfect.  I have that drawing x-refed into another drawing.  The station ticks take on the properties of the current layer in the drawing they are x-refed into.  If I change to layer defpoints, the tick to not plot!  Shouldn't the ticks be fixed to a certain layer?

View 4 Replies View Related

AutoCad :: Disable (current Layer Will Be Off) Popup When Hiding Layers?

May 12, 2011

How can I disable the "the current layer will be off" popup when hiding layers? I found this:

[URL]

but I'm afraid the expert command is only valid for commands

View 6 Replies View Related

AutoCAD 2013 :: Current Layer - Every Object Or Line Selected In Drawing Appear On It

Jan 16, 2013

When 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?

View 9 Replies View Related

AutoCAD Architecture :: Properties Palette Shows Any Selected Object On Current Layer

Aug 13, 2013

Just starting to use 2014, and so far not so good.  I tend to keep the Properties Palette open and docked.  In 2014, if my current layer is 0, any object I select in a drawing shows as Layer 0 in the Design tab of the Properties palette.  If I change to a different layer, any object selected shows that layer in the Properties palette.    If I start a new drawing, enter WALLADD and draw a wall segment, the A-WALL layer now correctly appears in the Layer Manager, but when I select the wall, the Layer in Properties is the current layer, not the A-WALL layer it should have gone on.  Also, Quick Properties is on, but doesn't pop up anywhere.

View 5 Replies View Related

AutoCad :: Xref Default Layer

Nov 21, 2012

We are having an issue with CAD users putting their xrefs on any layer that is current; thus creating some layer control issues. I would like to make it so that when they go to attach an xref the layer is automatically set to the "XREF" layer and then possibly reset to the previous layer.

View 2 Replies View Related

AutoCad :: Adding XREF As A Layer?

Nov 17, 2011

I have a drawing of a floor plan, and on a separate drawing I have text that I need to add to the floor plan drawing.

I've used the XREF command and positioned it exactly where it needs to go, but I can't edit the text drawing unless I "Open XREF in place"

I got close by going to the XREF dialog and "Binding.." the drawing as an INSERT and now it's one huge block.

I'm trying to insert the drawing with the text on the drawing with the floor plan so it's one drawing and so I can edit the text or move things around if I need to.

View 5 Replies View Related

AutoCAD Civil 3D :: XREFed COGO Point Markers Pick Up Color Of Current Layer?

Aug 7, 2012

We have survey files that we xref into our design files. In the survey files themselves, the points don't change color. When we xref them in, the point markers (only the circular node on the actual point, not the line coming off of it) take on the color of whatever the current layer is in the drawing, only fixable by changing the current letter and regenerating.

View 1 Replies View Related

AutoCad :: Way To Not Have Long List Of Xref Layer

Apr 5, 2011

I am using Auto Cad 2011 and I always use the option to 'attach' xrefs. what is the difference between attaching and an overlay? Does one use less memory than the other? When would be the best time to use an overlay?

Also when my new version was installed when I bring in an xref the layers show light (I really like this) another girl in our office has the same version but her layers are still saturated. how does she change it to show ghosted layers in the xref?

is there a way to not have the long list of xref layers when I bring them into a drawing?

View 3 Replies View Related

AutoCAD 2013 :: How To Create Layer On Xref

Mar 7, 2013

How can I create a layer on my xref so it doesn't affect othere sheets referencing my drawing without having to open a couple of hundred draiwngs. I know I can create my layer, freeze it, save my drawing, open all sheets referencing my xref and save them. Better yet, is there a setting I can use that makes my new layer pop up frozen on for all sheets while I work on my xref, on a newly created layer?

View 4 Replies View Related

AutoCad :: Changing Xref Layer Lineweights

Aug 22, 2013

Version: Civil 3D 2012 and use CTBs for our plotstyles.

I'm working on a fairly large project that requires an excessive amount of base drawings. We frequently will be asked to have a drawing made and issued in a morning. To make sure we can constantly throw these drawings together quickly we've setup an xref system of all our base mapping data. (I'm sure this is a common thing but its the first time I've been exposed to it).

A lot of these drawings will have polylines with global widths on them. The problem with this is that global width doesn't always work so well when changing scales (we frequently bounce from 1:100 to 1:20,000) or when you just don't need the line to be so thick.

Two questions:

1) Stop using global widths on lines in the base drawings and switch to a method of setting lineweights of the xref layers when you xref in a drawing.

2) find that it ends up rounding off the end of the lines. Is there a way to prevent this from happening?

View 1 Replies View Related







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