AutoCAD .NET :: Viewports That Allow Freeze Vs Viewports That Do Not

Oct 21, 2011

The code I'm using is supposed to go through all of the layouts and freeze the specified layer in the single viewport that is defined on that layout.  It works for some viewports, but not for others.  A "List" of the objects show the viewports are the same.  I have a LiSP routine that gets me more info about selected objects.  The first is a viewport that does not freeze the specified layer, the second does freeze the layer.  Here is the code I'm using:

Public Sub FreezeNewLayerInVPs(ByVal pageNumber) Dim doc As Document = Application.DocumentManager.MdiActiveDocumentDim db As Database = doc.Database Dim layerToFreeze As String = "DETAIL_" & pageNumber Using tr As Transaction = db.TransactionManager. Start Transaction( )Dim layTable As LayerTable = DirectCast(tr.GetObject(db.LayerTableId, OpenMode.ForRead),
[code]...

View 1 Replies


ADVERTISEMENT

AutoCAD 2013 :: Freeze Layers In Certain Viewports

Oct 11, 2013

I'm using Autocad 2013, and im trying to freeze layers in certain viewports, but the VP freeze/thaw button is greyed out for all my layers and wont allow me to freeze anything. I dont want to use the New viewport freeze/thaw button.

View 1 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 :: Viewports Automatically Rescaling When Clicking In Other Viewports - 2012

Sep 4, 2012

I have just installed 2012 and have drawn a 3d model. In paperspace i have a couple of viewports , all nicely set out at 1:5 scale. then i click in another viewport and bam, all the other viewports change scale (zoom out) and orientation. is there some system variable that i have overlooked?

View 9 Replies View Related

AutoCad :: Layout With Multiple Viewports To DWG With Viewports Flattened Out

Aug 23, 2011

I have a lot of sheet DWGs with a single layout in each. The layouts have several viewports into model space.

Is there a way to export out the layout tab where the viewport contents have been converted and placed into the layout space?

Ideally, I'm hoping to basically convert the viewport heavy paperspace into a dumb model space layout.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Freeze Layers In Viewports On Named Pages?

Jun 24, 2013

I am in need of a LISP to freeze layers in viewports on named pages. I found the following functions to return the frozen vport, but it only returns the list of already frozen and it only works if the viewport is active; besides just listing the frozen layers isn't enough. I need to be able to supply the page/tab and a list of layers to freeze.

; by Jürg Menzi 1999(DEFUN GetFrozenLaysInVport (/ LayLst) (FOREACH memb(GetMviewInfo) (IF(= (CAR memb) 1003) (SETQ LayLst (CONS (CDR memb) LayLst)) ) ) (REVERSE LayLst))(DEFUN GetMviewInfo (/ ActVpt CurSet IDX RetVal TmpVal) (SETQIDX TActVpt (CAAR (VPORTS)) ) (IF (OR(= ActVpt 1)(= (GETVAR "TILEMODE") 1) ) (SETQ RetVal nil) (PROGN (SETQ CurSet (SSGET "X" '((0 . "VIEWPORT")))) (WHILE IDX(SETQ TmpVal (ENTGET (SSNAME CurSet 0) '("ACAD")))(IF (= (CDR (ASSOC 69 TmpVal)) ActVpt) (SETQIDX nilRetVal (CDR (ASSOC "ACAD" (CDR (ASSOC -3 TmpVal)))) ) (SETQ CurSet (SSDEL (SSNAME CurSet 0) CurSet))) ) (SETQ CurSet nil) ) ) RetVal)

Is it possible to provide the page/tab name and a list of layers as aguments to a subfunction that could either activate the viewport and freeze a list of layers, or simply freeze the layer list for the named page's/tab's corresponding vport.

Important: most of my pages/tabs contain at least two vports. The largest of the two vports is the only one I wish to change, but if the layer list is frozen on all vports (per page/tab) it will make no difference because the smaller vport only requires that layer 0 is visible.

View 6 Replies View Related

Revit :: Tiled Viewports / How To Freeze Size - Orientation

Dec 7, 2011

Getting used to using tiled viewports, and wondering how to keep the viewports from reshuffling/resizing on a temporary basis, so I don't have to keep manually resizing them whnever I, say, maximize one view to work on it.  When done working in one maximized tiled workspace, I'd like to return to the previous orientation of the tiles.  Right now, I have to manually resize/reorient the tiles.  Any suggesitons on how I can return to  a "preferred tile format"?   For instance, I might want a plan view, two elevations, and a 3-D, with some tiles larger than others, to return to reglarly after maximizing one to work in temporarily.

View 1 Replies View Related

AutoCAD LT :: Different LT Scales In Different Viewports

Feb 1, 2013

Using '09LT and was wondering if it's possible to have different line type scales in different viewports on the same layout tab?

View 1 Replies View Related

AutoCAD .NET :: Dimensions In Viewports With UCS

Jul 23, 2012

I have some aligned dimensions in model space - they look ok, text is oriented according to WCS. Also I have some viewports with UCS (I used commands UCS, PLAN) where dimensions look wrong, text is not oriented correctly. Is it possible to "update" dimension in viewport to orient text as in model space?

Programmatically created dims in viewports oriented as in model space, not considering current UCS.  

View 8 Replies View Related

AutoCad :: Locking Down Viewports

Aug 16, 2013

What's everyone's take on locking down viewports?

I always do. It irritates me to no end when i'm moving about in a layout and accidently click into model space and screw up a viewport that is not locked down.

View 9 Replies View Related

AutoCad :: Different Linetypes In Different Viewports

Dec 7, 2011

In one viewport i have a contour drawn as a dashed line. to show the item is hidden.In Another viewport i freeze all layers 'above' this item leaving only the item in the dashed line. is is possible, without copying the line to have the line come through in the later viewport as a continuous line, but remain in the first viewport as dashed?

View 1 Replies View Related

AutoCad :: Pan Link Between 2 Viewports?

Dec 7, 2012

I have to draw a few houses in a street and make a viewport for each house on its own.

Now when i make a viewport of 1 house, i only want the details of that one house and only see the borders of the neighbours houses.

Ofcourse the details and the borders of the houses are on different layers.

I was thinking to make a viewport with only borders as a background and place a smaller viewport with the details on top of it.

So if i "pan" in the small viewport to go to the neighbours house is it possible that the background also "pans" automatically to the same place?

View 9 Replies View Related

AutoCad :: Dimension In Viewports

Jun 30, 2012

I am operating Autodesk Architecture 2010, trying to get my diminsion to display in a Layout Viewport. All layers are turned off in VP column in layers except my structure and dimensions. Structure is in viewport but not dimensions.

View 3 Replies View Related

AutoCad :: Scale In Viewports

Apr 11, 2013

Whenever I've done some drawings, in 1:1 and I want to get it from the viewport and out of the software the scales won't fit. For instance I'm right now having a part of a drawing being 20cm in 1:1, but whenever I set the viewport scale to 1:20 it makes this 20cm long element 15 cm'ish long.

All units are set to millimeter.

View 6 Replies View Related

AutoCad :: Way To Intersect Viewports

Aug 16, 2012

Is there a way to make one viewport supersede another so that say parts of the first viewport dont cross over into the second (not enough room). I have one intial viewport. Then four other viewports which are scaled in portions of the inital. I want the scaled in viewports to supercede images from the initial so that there are not parts of the intial intersecting into the "zoomed" in viewport pictures.

View 9 Replies View Related

AutoCad :: Overlap Viewports One To Another?

Mar 27, 2012

I would like to overlap the viewports one to another like using Draworder command with raster image. see my attachment to get what I mean.

View 4 Replies View Related

AutoCad 2D :: Panning PS Viewports With UCS?

Mar 4, 2011

Is there a way to pan/move an existing Paperspace Viewport to a defined coordinate? For example you can rotate a Paperspace Viewport with the UCS and Plan view commands

To rotate a view by changing the UCS

Double-click within the viewport whose objects you want to rotate. Make sure that the current UCS is parallel to the plane of rotation (the UCS icon should look normal). If the UCS is not parallel to the plane of rotation, click Tools menu New UCS View.If the UCS is not parallel to the plane of rotation, at the Command prompt, enter ucs. Click Tools menu New UCS Z.At the Command prompt, enter ucs. To rotate the view 90 degrees clockwise, enter 90. To rotate the view 90 degrees counter-clockwise, enter -90. Click View menu 3D Views Plan View Current UCS.At the Command prompt, enter plan. The entire view rotates within the viewport. You may need to specify the scale of the viewport again.

I am copying layout views with a tilteblock and viewport. Going to the new view and having to pan orthagonally down 50 units. I tried setting up named ucs for the 2 locations but that didn't move the viewport as I would thought.

View 7 Replies View Related

AutoCAD 2013 :: PDF Attach And Viewports

Dec 5, 2013

I used pdf attach to insert a pdf into the drawing. I have a plan drawing with viewports that references the drawing file. I tried to turn off the layer in one viewport while leaving the layer turned on in another viewport but i could not get it to plot correctly. It's off in my drawing but when i go to plot its on in all viewports. What is the reason that this happens? my plan file is too large i may have to post it seppartly

View 7 Replies View Related

AutoCAD LT :: Copying Viewports Between Layouts?

Sep 18, 2003

When I cut and paste a viewport from one layout to the other the layers that were frozen in that viewport become thawed. Is there any way of copying the viewport over so that those layers that are frozen in that viewport only remain that way ?

View 8 Replies View Related

AutoCAD 2013 :: Paperspace Viewports

Mar 30, 2012

when it comes to viewports in paperspace in 2013, due to the nature of my work i have several layout drawings all drawn on top of each other and all with ther own txt and dims etc, which again is all on top of each other making it impossible to work in model space, for this reason i work in paperspace within a viewport but now i have upgraded to 2013 while i am in mid command e.g. dimension and zoom into first point then zoom back out and in again to second point, by this time i have been kicked out of the viewport and just in paperspace so cant complete the command, doesnt always happen?

View 9 Replies View Related

AutoCAD 2010 :: Dimensions In Viewports With UCS?

Jul 23, 2012

I have some aligned dimensions in model space - they look ok, text is oriented according to WCS. Also I have some viewports with UCS (I used commands UCS, PLAN) where dimensions look wrong, text is not oriented correctly. Is it possible to "update" dimension in viewport to orient text as in model space?

Programmatically created dims in viewports oriented as in model space, not considering current UCS.  

View 2 Replies View Related

AutoCAD LT :: Configure Two Viewports At Two Different Scales?

Nov 15, 2011

I used the layout wizard to configure 2 vertical viewports as instructed in the manual. Next I try to paste an object in one viewport at a scale of 1:20, engineering imperial. The object appears in both viewports in model space. I only want the object in one viewport and I cannot erase the object in the other viewport, since they both dissappear. I also cannot draw a line in one viewport without it appearing in the second viewport. If I switch one viewport to current paper space the line can be drawn but I want each viewport to be at a different scale. Is there some way around this? Is my AutoCAD LT program capable of doing this?

View 9 Replies View Related

AutoCad 2D :: How To Make Text 2.2mm In All Of Viewports

Mar 13, 2013

I'm currently working on a drawing that has three different viewports with the scales of 1-250, 1-500 & 1-1000. I would like the text I've created in model space, to display at the same size (2.2mm) in all of these different viewports.

I'm using metric, and 1 unit in AutoCAD = 1m. I know that most people use 1 unit in AutoCAD = 1mm, but in my profession (working on large architectural site surveys) 1 unit in AutoCAD = 1m is the norm.

So the viewports are set at 4:1 for 1-250, 2:1 for 1-500 & 1:1 for 1-1000. I've set the text to be annotative, and to have the same scales. The annotation scale is currently set at 2:1 in model space.

Firstly, I don't really understand why and when I'd need to change the annotation scale in model space? I've adjusted it in the past to make sure that lintypes display the same in both model space and within viewports. Is it the same thing?

Secondly, by doing the above, all that I've achieved is that currently in model space the text is 1.1m high (which is what I want, and how I'd originally created it). In the viewports it is now coming out at 8.8mm for 1-250 (4 x too big), 4.4mm for 1-500 (2 x too big), and 2.2mm for 1-1000 (the correct size).

When I activate the viewports, it tells me that "annotation scale is not equal to viewport scale" in all but the 1-1000 viewport.

How can I make the text 2.2mm in all of the viewports?

View 4 Replies View Related

AutoCAD 2013 :: Viewports Don't Work?

Jan 7, 2013

I have drawn my model and am trying to put it into viewports. I have followed the tutorials provided to the letter, but when I create the viewport nothing shows up.

View 1 Replies View Related

AutoCAD 2013 :: Viewports Don't Have Boxes

Oct 11, 2012

On one of my drawings which was created by someone else, the viewports don't have boxes around them. When you click on them in paperspace, it bring you into model space, and when you click on detail it opens up, but cannot expand viewport., you can't delete it. I want to expand it to bring in detail which is bigger now.

View 2 Replies View Related

AutoCAD Map 3D :: Setting Up Layouts And Viewports?

Mar 2, 2011

how to set up a layout to show a t-block for plotting purposes, as well as setting up your view ports on a drawing? I have used the layout wizard before, but when it comes to selecting a tblock with the wizard, nothing shows up.

View 8 Replies View Related

AutoCAD .NET :: Multiple Viewports In Layout

Jan 4, 2013

I wrote a program to separate drawings with multiple layouts into several drawings. The problem I'm running into is even though there is only one viewport in the layout.the program is finding two. One has the right viewcenter, width and height the other is wrong.

View 1 Replies View Related

AutoCad :: Viewports Line Are Not Shown?

Jan 18, 2012

I have a question regarding viewports. We received drawings from our sub-contractor and we noticed that there is something wrong with their drawing, so I decided to make the modification, but when i opened the file and switched it to layout tab, I was not able to see the line for their respective viewports. But if you are going to double click that drawing, the viewport will be visible.

One more thing is, when i found the viewport and re-scale the things that i want to show inside that viewport, I was confused because in the model tab there are only two drawings which is the plan layout of our project, (the section view and the top view). what they want to show in layout tab is only the topview, so, when i tried to check they used only the top view, yes, but how? because in model tab as what i have said before "THERE'S ONLY 2 DRAWINGS" I am wondering if the make some tricks with this.

View 6 Replies View Related

AutoCAD LT :: Visibility Of New Layers In Viewports

Jul 17, 2012

AutoCAD insists on making newly created layers visible in all previously established viewports, even when I have set the visibility to off when creating the new layer.  I have found to correct the problem is by going viewport to viewport (with the layer window open), clicking within the viewport and changing the layer visibility to "off." 

I would like to have a global variable for new layer viewport visibility.  by default, I would turn-off all visibility of new layers in existing or new viewports.  Then I could turn them on where I needed them without having to clean up after AutoCAD.  This is a logical default, because if I have not previously established a layer, it is likely that I would not want/need to see that layer in most previously established viewports.

View 1 Replies View Related

AutoCad :: Plotting Layout With Viewports At 1:1?

Jul 4, 2012

I made a 90 meter box in model, created a titleblock and added a viewport in layout. The viewport scale is 1:1. Plotting scale is 1:1. It just dawned on me that because everything is 1:1.... I should have a peice of paper 90 meters long. My thick head has managed to confuse me, Does Cad apply a scale to the viewports even though its set 1:1 and plotted 1:1?

View 9 Replies View Related

AutoCad :: Layers Not Staying Set In Viewports?

May 11, 2011

I'm having a problem setting layers in various viewports. I set them (using VP freeze), they appear to be fine, I save, yada yada, but after a while all the layers turn back on within the viewports. Very frustrating. I am starting to think that there is a fundamental problem with my layers system- possibly having to do with my profile setting, but I don't know enough about setting and managing profiles to know where to start. Or it could be something else.

View 6 Replies View Related







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