AutoCAD .NET :: Getting A List Of Layers From Selected Viewport

Jun 26, 2013

I have functions that will freeze or thaw layers in a viewport, but I was wondering how to just check which layers are thawed/visible in a selected viewport.

View 1 Replies


ADVERTISEMENT

AutoCad :: Unable To Edit Unlocked Layers / How To Change Default Viewport Scale List

Jun 8, 2011

I just started using 2012. Two problems:

1- Somehow, in my current drawing, everything is layer-locked. There are no Xrefs in this very basic drawing. All layers are unlocked. Yet, any attempt to select any entities results in "x objects were on a locked layer". Again, all layers are unlocked. No Xrefs. No blocks. Just simple lines. All entities appear faded. This happened after viewing a layout in both paper and model spaces. Reviewing the text window shows no strange accidental commands.

2- There is a default set of viewport scales in the status bar at the bottom right. Default scales are all metric. I would like both metric and imperial. I see you can edit which exact scales are in a metric list, and which are in an imperial list. But how do you set what is displayed/available in the status bar button?

View 9 Replies View Related

AutoCAD .NET :: To Off Layer Only In Selected Viewport In Paperspace

Mar 29, 2012

I am trying to create a named viewport in paperspace and have to off selected layer only in selected view port. I Know to do this manually, but i don't get any idea for doing this using .net. 

View 4 Replies View Related

AutoCAD LT :: Viewport Scale List

Jan 12, 2012

recently upgraded to a new stand alone LT 2012 on brand new machine.I only work in metric millimeters. When I open a new drawing and set up a viewport on a new layout tab the viewport scale list is as one would expect i.e. 1:1 1:2 1:4 1:5 1:10 1:25 1:50 etc etc

when I open an existing drawing I only have the option of imperial scales i.e. fractions. I have tried simply adding the most commonly used scales to the list but once the drawing is saved and closed, they have disappear when reopened.

View 9 Replies View Related

AutoCad 2D :: Viewport Scale List

Jul 29, 2013

I have tried to find if my problems has already been addressed but cannot find any reference.I am adding a value to the scale list in 2012. The list goes from 1:20 to 1:30 and I want 1:25.

When I add in the drawing it is still there in subsequent edits. When I create or edit another drawing the value is not in the list!!

Is the viewport scale list default needing to be edited elsewhere for it to become a global change because no matter what I try it only stays resident in drawings I edit the viewport scale list!

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Sorting A List Of Selected Block

Jun 12, 2013

I found a lisp for counting of selected block in a table drawing, but I can not remove the bottom line of this lisp that displays "total" blocks. How to remove this line from "total" that is created in the last row of the table that lisp.

lisp : ========================================

(defun c:TABL (/ blk_id blk_len blk_name blks ent h header_lsp height i j TOTAL
len0 lst_blk msp pt row ss str tblobj width width1 width2 x y
)

[Code]....

View 4 Replies View Related

3ds Max :: Modeling In Viewport - Cannot See Selected Faces Of Object

Apr 19, 2013

I don't know what happened, but suddenly, i couldn't see the selected faces of the object i was modeling in my viewport, just the edges

what I want to see when I select faces is this (Minute 2) [URL] ......

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Function To Print Out Entire List Of Selected Entity?

Oct 28, 2011

I am looking for a function to print out the entire entity list of the selected entity...

so... walking down through the entity data... print out what it finds... any time it encounters an entity name... then do an entget and print that out too.

View 8 Replies View Related

AutoCad :: Turning Off Layers In Viewport?

Apr 28, 2011

turn off layers in individual view ports yet keep them on in the model space tab? UPDATE: Just figured it out. Click on the sun icon under VP Freeze.

View 4 Replies View Related

AutoCad :: Hide Layers In One Viewport

Oct 14, 2008

Is it possible for a layer to be hidden in one viewport, and be shown in another?

View 6 Replies View Related

AutoCAD .NET :: Viewport Layers Set To Frozen Are Still Visible?

Jul 9, 2012

I have a sub that gets a page number and a collection of layer ID's to freeze.  The sub will freeze the selected layers in all of the viewports except for the new one.

After running the program, the layers in the specific viewport are still visible, but when you go into Model mode in the viewport and check the layer status, it shows the selected layers are set to Freeze in the viewport. 

If I save the drawing, exit,and re-open it, the layers are now not visible.  I believe I have the "Regen" in the correct spot.

The code is attached.

' Freezes the selected layers in all other existing viewport layouts Public Sub freezeOtherLayouts(ByVal pageNumber As Integer, ByVal layersToFreezeLayerIds As ObjectIdCollection) Dim doc As Document =

[Code].....

View 9 Replies View Related

AutoCAD 2010 :: How To Turn Layers Off In Each Viewport

Apr 9, 2013

From Model I made 3 view ports. How can I turn layers off in each viewport?

View 9 Replies View Related

AutoCad :: Can't See List Of Layers

Apr 19, 2012

I am using Autocad 2011 but for some reason suddenly when ever I type layer the layer dialog box comes up but I cant see any layers I reckon it must be some system variable.

View 4 Replies View Related

AutoCAD .NET :: Setting Group Of Layers Visible In Viewport

Sep 27, 2011

I have a dialog box that has 2 list boxes.  One box has the available layers in it, while the other will contain the selected layers.  I want to use those selected layers as a list of layers that will be visible in a particular view port.  I have searched all over to find information on what kind of list I would need and how could I use the list with a view port, but all I've found is info for one layer becoming visible.

I'm also looking into "FreezeLayersInViewport" but info sure seems limited.

View 9 Replies View Related

AutoCAD 2013 :: How To Freeze Layers Of Block Within Viewport

Jan 6, 2014

How to freeze a specific layer inside a block within the viewport?

View 3 Replies View Related

AutoCAD Civil 3D :: Locking The Layers State In The Viewport

Mar 9, 2013

“Locking” the layers state (turned on/of frozen/thawed/ locked/unlocked, etc.) in the viewport,

I’m wondering if there is a technique that allows locking the “state” of layers (turned on/of frozen/thawed/ locked/unlocked, etc.) in the viewport mode such that the viewport will keeps its required state REGARDLESS THEIR STATE IN THE MODEL MODE!

For example, in the screenshot below, freezing the point in the model mode will also freeze them in the viewport! And thus the layer state are not kept as required in the viewport which adds more efforts.

One possible option is saving the layer state! But this feature is not a property for the viewport but needs to be selected from the layers option. And thus we need again to think about layers that are supposed to be turned on/of frozen/thawed/ locked/unlocked, etc. in a particular viewport.

What I need here is to LOCK the viewport not only in terms of scale but also regarding the state of layers!

View 6 Replies View Related

AutoCAD 2013 :: Turn On / Off Layers In Current Viewport Only

Feb 27, 2013

Turn on/off layers in the current viewport only, I’m wondering if there is a command that can be plugged on the “quick access toolbar” by which one can turn on/off layers in the current viewport only.

The available command to do so is “Freeze and thaw in current viewport” (attached) and it sounds it can’t be plugged in the “quick access toolbar”!

Is there a way to plug the command “Freeze and thaw in current viewport” in the “quick access toolbar” (attached)?

Software: AutoCAD 2014, AutoCAD C3D, AutoCAD M3D, Revit
Windows 7 (Ultimate 64 bits),
Firefox 20.0,
Kaspersky 2013.

View 9 Replies View Related

AutoCad :: How To Print The Layers List

Jul 26, 2012

I am trying to set up standards for a small company and want to distribute a handout showing what layers we use and their characteristics. Is there a way to do this or do I just open up ol' Word and type it out? I didn't see anything in earlier threads that address this question.

View 8 Replies View Related

AutoCAD .NET :: List Layers In ComboBox Dropdown

Mar 4, 2013

Any examples on how to list all the layers of a current drawing and populate a ComboBox on a form with that list. It seems pretty simple, i'm just gonig through the .NET Developer guide now but was hoping there was a quicker solution.

View 4 Replies View Related

AutoCAD Inventor :: Layers In Parts List

Aug 1, 2013

In an idw, if I select Parts List, the BOM setting of layers can be switched between First Level and All Levels.  Once I select my view, the option grays out and selects First Level. I need my BOM to show All Levels.

What do I do to select All Layers for my drawing?

View 9 Replies View Related

AutoCAD 2013 :: Freeze Layers In Xref'd Viewports By Selecting Them In The Viewport

May 8, 2013

In previous versions of Autocad 2008 and earlier you could start a new drawing xref in a drawing then switch to layout and create a viewport that would show the xref.    Then you could click inside that viewport and run the FL (freeze layer) command and selectively freeze layers by clicking on them.

In my current version of Autocad Civil 3D 2010,  when I follow the same steps as above and run the FL (freeze layer) command inside the viewport, the entire layer contents within the viewport freeze as if everything is on that one layer.

I notice that if I pull up the layer manager box and go down the list of xref'd layers and select the freeze in viewport option for each of the layers I need to freeze it will do what I need to have done,  But I'd like to be able to be able to selectively freeze these layers visually within the viewport like I've always been able to do, instead scrolling down a long list of layer names and freezing them that way.

how to do this in Civil 3D 2010?

View 4 Replies View Related

AutoCAD 2010 :: Sheet Set Views Freezes Viewport Layers On Insert

Jan 23, 2013

I have a template for sheet creation with all layers on, thawed, etc.When I insert a view on a sheet, there are VP layers that are frozen.I do not want these settings. 

View 6 Replies View Related

AutoCad :: Copy / Paste Viewport - How To Lock Layers To Retain Setup

Jul 23, 2012

Is there a way to lock the layer setup in a viewport, so when i copy and paste it to another paper space tab in the same or different cad file, it keeps the same setup?? (layers frozen / thawed)?

View 6 Replies View Related

AutoCAD 2013 :: Viewport Scale List - Zooms With Each Scale

Sep 6, 2013

AutoCAD 2013 2D - when scrolling the viewport scale list, the viewport zooms with each scale instantly.

View 1 Replies View Related

CorelDRAW Graphics Suite X6 :: Subsequent Fonts In A List Will Not Apply To Selected Text

Sep 18, 2013

CorelDraw X6.Since the last update, some of the subsequent fonts in a list will not apply to the selected text.

View 14 Replies View Related

AutoCAD Architecture :: Layers Now Not Visible In Pull-down List

Nov 7, 2012

I have an Architecture drawing and only the current layer is visible from the pull-down lift.  I can only access the other layers by opening the Layer Manager. 

View 2 Replies View Related

AutoCad :: Display Layer List Of Layers Through Given Area?

Apr 4, 2011

I have a string of 3d solids (cubes if you will) lined up in a row. I have a 3D Polyline starting below each one cube. (each polyline is a different layer name). As the line enters the cube, it then turns left in the center... and goes through the other cubes to its left till it reaches the end. So the left most cube has each line going through it, and the right most cube has only one 3dpolyline. I am looking for a way to create some kind of tangible data I can display, export or extract of what layers are going through cube one if I select it. Same for cube 2, 3, ect...

I have dummied down the example due to having 44 cubes, and not all in a single row, or this question would be an easier answer.

So is there a command, or a lisp routine I can create or manipulate to give layer names that float through a 3D Solid?

View 0 Replies View Related

AutoCAD 2010 :: Layer State Assigned To Viewport Can Only Restrict Layers Showing?

May 13, 2013

Why a layer state assigned to a viewport can only restrict the layers showing?  I want my viewport to show the proper layers all the time, even when those layers are not visible in model space. 

C3D 2012 SP2.1
WIndows 7 SP1 64 bit
24GB RAM
Dual quad core xeon 3.2ghz cpu's
Triple Monitors

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: File To Thaw All Layers Frozen In Viewport

Mar 6, 2013

Lisp file to thaw all layers frozen in the viewport,I’m wondering if there is a lisp file that can thaw all layers frozen in the viewport.

View 4 Replies View Related

Illustrator Scripting :: Simple / Direct Method To Identify Index Of Selected Item In List Box

Jul 16, 2013

I can't seem to figure out a simple/direct method to identify the index of the selected item in a list box.

I feel like I'm missing something, but I can't seem to figure which (if any) property returns an index number if you use it with the .onChange callback for a ListBox.

The following code accomplishes what I need but isn't particularly efficient or elegant and can get muddled if you introduce multiple lists to check.

Any way to duplicate this same behavior with better code
 
var res = "palette {text: 'Example List', properties:{resizeable:true}
pnl: Panel{orientation: 'row',preferredSize: [400,600],
list1: ListBox{preferredSize: [400,550], properties:{multiselect:true,numberOfColumns:2, showHeaders:true,columnTitles: ['List 1', 'Subitem 0']}},
}}"

[Code]...

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: List Layers By Their Index

Dec 11, 2013

I want to make a list of layers due to their index (order) in the "layers combo box" in the AutoCAD. I prepared this:

(defun c:ListLayers ( / a b)(setq a(list(cdr(assoc 2(tblnext "layer" T)))))(while(setq b(tblnext "layer")) (setq a(append a(list(cdr(assoc 2 b))))));while);end

But, It's not match with the order of layers.

View 9 Replies View Related







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