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
ADVERTISEMENT
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
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
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
Jan 5, 2012
I have code that has the user select a viewport. I then need to set the selected viewport to an existing view, but I cannot find any exampes of this.
I have the viewport, but how do I get the ViewPortTable/ViewPortTableRecord from it?
Do I need to set the view in the ViewPortTableRecord od the ViewTableRecord?
No problems to this point...
'Code snipIf acPrmpt_res.Status = PromptStatus.OK Then
Dim acVPort As Viewport = Nothing
Dim acViewTbl As ViewTable
Dim acViewTblrec As ViewTableRecord
[Code] ........
View 5 Replies
View Related
May 3, 2011
Is it possible to set a viewport's visual style without opening the drawing in the editor? I would like to set a visual style on all viewports for a batch of drawings.
As a followup, could the viewport then be part of a publish event and have the new visual style hold without opening and reneging the drawing?
View 4 Replies
View Related
Oct 28, 2013
I am working on a drawing I have been sent by a consultant and having difficulties setting up the vport extents I need when using two vports. If I marquee zoom to what I want in one viewport it reverts to full extents as soon as I click on the other vport. I never had this before. Is there an obvious solution?
View 1 Replies
View Related
Sep 24, 2009
I am using version B.219.3 (UNICODE) of Autocad Civil3d 2008 with service pack 2 loaded.
I am putting together some plan and profile sheets for a civil roadway job.
The annotation scale setting of the text in the profile xref and alignment xref is being ignored in the sheet file viewports. This text should be appearing at 1:40 scale, automatically, same as the viewport scale, but they are appearing very small instead. According to the way annotation scale is supposed to work in Autocad2008, this annotation should be appearing at the correct scale, automatically.
If I try to adjust the annotation scale to a ratio I think will work, it automatically adjusts the viewport scale to match whatever I enter for an annotation scale. What to try next.
Can files become corrupted in AutoCAD? If so, are there utilities to repair corrupt AutoCAD files?
View 7 Replies
View Related
Feb 20, 2013
How do I set in CorelDraw X6 that only a group of graphic elements on a layer is visible or not?
View 14 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
Nov 18, 2011
I would like to modify the Quality setting shown in the "Shaded viewport options" section of the plot dialog box (see attachment). The default appears to be Normal, and the options are Draft, Preview, Normal, Presentation, Maximum, and Custom. I want to use Maximum for 11x17 PDF files but I have 1000's. I can't open each file and change the setting, and then Apply to Layout. I'd also like to know what "Custom" means, but I will settle for maximum for now.
Is this option available under PlotSettings somewhere?
View 2 Replies
View Related
Apr 25, 2013
I am in the process of creating a .dwt to be used to generate plan & profile sheets. I have attempted to set the viewport type to either plan or profile (depending on the viewport) but it keeps resetting itself to "undefined".
View 1 Replies
View Related
Oct 18, 2013
calculation a viewport scale of 1"=30'.
I've looked around and only find nearly what I looking for. For 1"=20' I have a value of 0.004167 Paper Units = 1 Drawing Units, but what is the formula to calculate 1/30"=1'-0"?
View 7 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
Dec 5, 2012
How to group similar layers and nothing solved my problem.For exemple: I have 3 layers.
-Glass 1
-Glass 2
-Glass 3
All of this layers are blue, and have the same characteristics.I want how i can grouping this 3 layers in only one.
View 4 Replies
View Related
May 30, 2013
I need to move some layers in a new group filter as you can see on the picture:
layer.PNG
View 2 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
Oct 31, 2012
I am running C3D 2010.
Somewhere along the line, someone in our office made our template import points into separate layers based on the RAW Description. I would like to un-do this. So far, I have deleted every point style & point label style except for 'Basic'. Inside of 'Basic', the layer is 'V-NODE'. However, some of my points are still coming in on layers like: 'V-Site-'(Raw Desc).
I'm about to start from scratch on the template, however, I'd like to avoid that because of the array of styles that are in it.
View 3 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
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