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
ADVERTISEMENT
Mar 8, 2012
I have a viewport in paper space with most layers set to "VP Freeze". When I save the drawing or when a auotsave occurs, the frozen layers become visible again in the viewport even though they are still marked as frozen. The only way I can get the viewport to display correctly again is to close the drawing and re-open it. How I can stop this from happening?
View 9 Replies
View Related
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
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
Jul 1, 2011
I did a test drawing with 4 viewports in paperspace.I frozen a layer in each viewport (as a viewport override, not global), and wrote code to gather info on layer overrides in viewports.The function takes in a database, and is generally used on drawings only open in memory:
public static bool GetLayerInfoFromDB2(Database db) { //do viewports on layoutstry {using (Transaction tr = db. Transaction Manager. Start Transaction()) { ObjectId ldid = db.LayoutDictionaryId;DBDictionary ld = (DBDictionary)tr.GetObject(ldid,
[code]....
the odd thing is it never finds the frozen viewports on the first viewport. It catches the others fine.I cannot see anything odd either, the counts of viewports and layers are all correct, and the drawing has no problems.Is there something that must be done to initialize the mechanism that reads viewport overrides?
View 2 Replies
View Related
May 10, 2012
When working with an xref background, we are experiencing really bad lag, and delays when working with objects that are drawn on top of an xref. I have restarted the affected computers, restarted the server that all files are housed on, upgraded the network switch...with no results. Tasks that should take fractions of a second, are sometimes lagging anywhere from 3-15 seconds depending on what layers of the xref are un-frozen and visible.
View 9 Replies
View Related
May 27, 2011
I have random objects, eg lines or text that I can't select, even to see what properties they have. none of my layers are frozen.
View 9 Replies
View Related
Feb 26, 2013
Is there a system variable to stop layers i have frozen off and turned off from plotting.
I have tried changing the VPLAYEROVERRIDESMODE but this had done nothing tho solve the problem.
I have a new machine and a fresh install of Civils 3D, as do ohers in the office however i am the only one this is happening to.
There are no drawing entities or xrefs on layer 0 or the defpoints layer.
View 2 Replies
View Related
Dec 4, 2013
have xrefs in drawing froze some of the xref layers, changed colors on some others looks great on screen, but all the original colors show on plot, along with the frozen layers...is this to do with the xref?
View 2 Replies
View Related
Jul 19, 2011
I don't have this problem on all my files, only a select few. When i save a file and reopen, all the viewports in which I have frozen layers are all reset. All layers are turned back on and I have to go through every viewport and refreeze layers. This problem has persisted long enough that I unfortunately know when I close a file I will have to reorganize the layers next time I open the file. Is this a setting issue or this a bug in the file?
View 3 Replies
View Related
Sep 1, 2011
When a drawing is printed using PLOT the drawing is printed fine. If I batch plot (or publish) it prints all the frozen layers of the xref and also prints the layers as assigned by the XREF drawing and not the new colours I have specified for this drawing.
View 1 Replies
View Related
Feb 13, 2013
I have an old routine that freezes layers that are off. I would like it to also turn off layers that are frozen. It took a while but I think I figured out how the old routine works. I was having trouble determining how the routine would know if a layer was off or not. I found if the color was a negative number that meant the layer was off (cond ((< (dxf 62 l) 0) (command "f" (dxf 2 l)))). How do I tell if the layer is frozen?
I was also wondering what the character was after the DXF code ie. (dxf 62 l). Is is a lowercase L or an upper case i and what function does it have?
Below is the old routine that freezes layers that are off.
(defun c:fo (/ l dxf code list)
(defun dxf (code list)
(cdr (assoc code list))
);defun
(setq l (tblnext "layer" T))
[code].........
View 2 Replies
View Related
Aug 6, 2013
I have a few files with layouts that have multiple viewports where layers were frozen to get the desired display, the drawing was saved, yet everytime the drawing is re-opened those layers are on again. This is creating problems because I am batch plotting many drawings at once. The layers are not locked.
View 4 Replies
View Related
Apr 3, 2012
Is 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 Related
Aug 1, 2011
seems like an awfully simple question, but i cannot figure out how to hide the viewport from a plot?
i am plotting an Arch D to PDF, and all looks good except for the viewport in the plot!
View 3 Replies
View Related
Jul 18, 2011
I received a drawing this morning, and it's paperspace looks great. However when I tried to view the drawings in modelspace it was empty. All the layers are on, when I click into the viewport (in paperspace) I can draw a line on the same layer as the block and that will show up in modelspace, yet no block.
Is this a feature of CAD, never experienced this before.
P.s. The blocks are available to insert in modelspace , however I'm just curious as to why I can not see the blocks that quite clearly exist in modelspace already.
View 9 Replies
View Related
Jan 8, 2014
DWG has viewports on layout tabs, but the viewports are not visible. The viewport can be open, edited as established, but if you pan or zoom, the paperspace layout moves and not model space. In model space, viewport frame does not highlight.
All layers on, unfrozen, and plottable.
Have done extensive internet search to find soution, found others with same problem, have found no one with a solution.
Not extremely CAD literate, basically self taught, but until this problem, I've been knowledgeable and resourceful solving problems.
View 9 Replies
View Related
Nov 10, 2011
How to freeze a layer in model space but still be visible in a viewport.
The layer just gets in the way in my model, I could just turn it on whenever I need to print the page but surely theres an easier way.
View 1 Replies
View Related
Sep 5, 2013
They are the only objects on this layer with which this happens.
View 6 Replies
View Related
May 23, 2012
how to make a 3D model visible in viewport layout?
View 4 Replies
View Related
Apr 19, 2012
I'm creating a new project drawing and have x-ref'd my base drawing onto the sheet to be plotted. I can see the base drawing thru the viewport while in layout, but once I try and preview my plot the drawing inside the viewport is not visible. that is, I can see the preview of my sheet border & title block, but nothing within the viewport shows on the preview screen.
View 3 Replies
View Related
Aug 6, 2011
I have a problem with baked textures. why are the uvw seams visible in viewport? textures baked with mental ray gi from skylight.
I exported scene with baked textures into unity3d and the same happens there. when zooming out the lines start to appear.
[URL]
View 2 Replies
View Related
Sep 13, 2013
I have a user which we just installed Autocad Civil 3D 2014 on his computer that is running on a Windows 7 64-bit OS. However, he has had the same problem with Civil 3D 2011, 2012, and 2013 ever since we took him to 2011 in September 2011. So, it is not something new. It may have been around before then but my companies common practice back then was to freeze layers with a script file before plotting. While attending a class back in 2010 or 2011, he and his group were told to “do not use FREEZE on layers in Civil 3D” since things frozen did not get updated like they would if they were just turned off. So, they have been using the “ON/OFF” commands on all Civil 3D files since then.
Here is the problem:
A drawing, typical of this and other jobs he does, has a title block which is an xref in paper space and the site plan xref in model space. He can turn "OFF" certain layers from the site plan as viewed from paper space to remove clutter and then go to make a plot. After getting it set up to print and going to the preview the layers he has turned off appear in the preview and if he goes ahead and makes the plot or PDF those layers that were turned off will plot out.
The work-a-round they have been using ever since has been to go back into the file(s) and “FREEZE” the layers that were turned off, make the plots and then go back and “THAW” the layers before ending the drawing.
Things we have tried:
Set Visretain=1
Used the “Publish” command.
Set Layerevalctl=0 or 1
Is there a way to use ON/OFF instead and have the layers NOT plot out? OR, is this something that AutoCAD will not do regardless? Has it always been that way and we have been unaware of it through the past four releases?
View 5 Replies
View Related
Apr 14, 2011
When I draw a Nurbs Curve and check Enable in Viewport it is not visible in the viewport. I can change thickness settings, etcetera and see the bounding boxe changing in size but see no visible curve in any of the viewports. Is this a bug in Max 2012? Running Windows 7, 64 bit, Quadro 4000 with latest drivers.
View 9 Replies
View Related
Jan 19, 2011
Build a model, position it, turn on or off layers you want or don't want to be seen, create a new layout. then reposition, change layers and so on, create a new layout, maybe zoom in on a detail, create another layout and then export all to a PDF.
my problem is if you change layer visibility it affects all layouts , not what I would expect. Or if you zoom in, it still bases the layout on extent , all though display type does seem to hold on the layout it was set for.
so what would be the proper way of showing only relevant information on several different sheets.
View 6 Replies
View Related
Oct 10, 2012
When I load a dwg file, i set all invisible layers to visible!The layer properties has been set to visible, but the entities on those invisible layers still can't see.After that I change the layout,just change the 'model' to 'layout1' Then change back to 'model' . All entities is visible!
private void AddNewLayer(Document doc)
{
if (doc.IsReadOnly)
return;
using (DocumentLock m_DocumentLock = doc.LockDocument())
{
[code]....
View 9 Replies
View Related
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
May 8, 2012
Layers are shown in the drop down menu from the ribbon but when I open the layer manager no layers are visible. I can click in the empty space and the layer will highlight. See attached.
System:
Core2 Quad Q9650
8GB Ram
WIN 7 64bit
FirePro V3900
AutoCAD 2012 64bit
View 6 Replies
View Related
Feb 10, 2012
When I try to add new layers the layer propert manager is notvisable. I have to hit escape to return to the drawing. I beliesve the dialog box may be trying to go to a second screen I use at home. This happens on my lap top when it is not connected to my second moniter..
View 6 Replies
View Related
Mar 24, 2011
I work at an architecture firm, in which we have many drawings, all with multiple sheets. (A1, A2, A3...etc.)
I'm wondering, is there a way to lock which layers are visible based on the sheet you select? I want to prevent someone from accidentally turning on HVAC information on a plumbing plan, if they do not check which sheet they are currently working in.
Is there a way to do this in a more permanent way, other than simply using the Freeze or thaw in current viewport button in the layer pulldown menu?
View 1 Replies
View Related
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