AutoCAD Civil 3D :: Copy Viewport In Layout Doesn't Create Another Viewport
Jul 25, 2012When I copy a viewport in a layout it does not create another viewport, only a poly line.....
View 6 RepliesWhen I copy a viewport in a layout it does not create another viewport, only a poly line.....
View 6 RepliesI'm trying to create a new layout and then adding text and a view port. The add text works but the add view port method, written in AutoCad's Developer Guide, doesn't!
Sub MyLayouts(ByVal LayerVal As String) '*********************' '* Create Layout *' '*********************' 'Declaration' acDocs = Application.DocumentManager acDoc = acDocs.MdiActiveDocument acCurDb = acDoc.Database Dim acLayoutMgr As LayoutManager = LayoutManager.Current 'Notification' acDoc.Editor.WriteMessage(vbLf & [Default].MyApplication & " -> Création d'une présentation. ") 'Transaction database' Using acTrans =
[Code].......
Having trouble with diameter and radial dimensions since upgrading to 2013.
For example, draw two concentric circles and Presspull (or Extrude and Subtract) so that you get a hollow cylinder. Then create a viewport of this solid in a layout, and try to dimension the inside and outside diameters.
One of the two dimensions will work properly (seems to vary which one). The other will magically "jump" when placed (ex. the OD dimension will jump and become the ID, or vice versa).
How to resolve this? Our guys are having to do absurd things like redrawing the circle in paper space and dimensioning to it with a scale factor. Is this some sort of 2013 bug, or a setting?
Inventor 2013
Windows 7 64 Bit
how do you create a viewport within an existing viewport ?
View 9 Replies View RelatedI am trying to create a single layout with title blockandviewport to save as a template for future. Right clicking on the layout tab does not produce the menu.
I create a new layout by selecting page set up manager in the file menu, create a new layout, but the tab does not show up at the bottom.
I have a drawing with a viewport that fits to the page. And I created another smaller viewport over top that just shows the legend. Now when I try to double click inside the smaller viewport it always goes into the larger one. I have tried bringing the smaller one to the front but that didn't work. I know that I can clip the larger viewport around the smaller one or bring the legend right into paperspace or slid the smaller one off to the side work in it and slide it back. This is more out of curiosity of how to get into the smaller viewport.
View 2 Replies View RelatedI have some not displayed viewports in my drawing. I can select only the viewport while using filter command in autocad dwg. Also i couldn't able to see those viewport normally while command inactive. Actually i want to delete those viewport which is only one per layout. that one drawing having 100 layout.
View 7 Replies View RelatedIs 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?
How do you edit the scale property in a polyline layout viewport? I have a polyline layout viewport in Autocad LT 2002 that was created in full version of autocad 2000. Normally in 2002 Lt you can edit the scale properties in a layout viewport, but this is not available when I view the properties of the inserted polyline layout viewport. is there a way of changing the scale in either AutoCAD 2002LT or AutoCAD 2000 (full version)of this polyling layout viewport?
View 5 Replies View RelatedWhy in layout in viewport scale in these two file different ??? with same scale 1:60???!!! i cant find answer in file f-metric scale 1:60 while in e metric 1:300 to be same file F-metric ??if you make it 1:60 in file E-metric view will not same ?? what the reason ?
View 2 Replies View Related AutoCad 2011 for Mac..I am having trouble in understanding how to use the layout space or maybe it is more correct to say the paperspace...
The thing I´d like to know is how to be able to zoom and pan my drawing inside a layout. And not to zoom or pan the whole layout. Or let me say it like this: I have different layouts in one when I zoom or pan the paperspace is zoomed or paned. In another it is the drawing in the paperspace that is changing.
s I found things about values like VIEWMODE. When I type in this command I get the value but I found no way how to change it.
I'm trying to simply edit the default viewport in a layout that I've created. I can't seem to find any threads that were successful or answered about this. I need to set the scale, size and linetype of the viewport. When I've tried, the viewport has simply not changed. I'm afraid im not getting the current viewport. Im using ed.activeviewportid hoping that its associated with the current layout as specified by layoutmanager???
View 2 Replies View RelatedSeems this question comes up often so I put this together. If there are any errors or omissions
Options for setting Viewport scale.doc
How do I change a polygonal viewport to a rectangular viewport?
View 5 Replies View RelatedProblem: When I create a new viewport, another viewport's paperspace blanks out or disappears. When I copy a viewport over, the new VP doesn't show anything and you can't maximize/"enter" its paperspace; it's like a simple rectangle, but the properties box says it is indeed a viewport.
Ex. Viewport 1 shows the top view of an object, Viewport 2 shows the right side view... as soon as I add Viewport 3, the top view in VP 1 blacks out. I attempt to ReDraw, Regenerate, etc, but it doesn't re-appear. I've run Plot Preview to see if maybe it's just a fluke with the graphics card on my screen, but alas, even in plot preview the viewport is blanked out.
It almost seems like there is a limited number of viewports I can use.
Solution: Run the MaxActVP command and set the value to a number greater than the number of VPs you actually need. This particular file had that value set at 2; hence, why a new, third VP blanked out the first one.
When i insert a xref in a drawing i always use the command "send to back" in the model space. However when you switch to the layout the xref sometimes is on top of the symbols in the drawing. This problem is easy to fix with send to back but when you want to do this you have to set the viewport to modelspace selct your xref and then send to back. This is easy to do when you only have a few layouts but when you have a couple of layouts with several viewports in each layout it's a very time absorbing job. Is there any variable to make sure that the xref is always send to back in the layout space.
p.s i'm using Autocad LT 2010
There is a default viewport in Layout1. How can I reposition and resize it on the paper? It would also be sufficient if I could delete it--how do I do that? (then I could create one that fit my needs)
Briefly, what are disadvantages of not using Model view?
I can't seem to change a viewport in layout view to show my drawing properly. No matter what I do the page only shows a very zoomed in view or a very zoomed out view. I have tried all menu options witht he word scale in, including the scale list. I have looked in the properties inspector.
View 5 Replies View Relatedhow to make a 3D model visible in viewport layout?
View 4 Replies View RelatedMy layers in layout viewport are displayed in wrong order even after I use REGEN or REGENALL command.
I am working with drawing file with quite big amount of layers (about 100+ including layers of 7 xrefs) and because I want to use different layer settings for each printed drawing I work directly in the layout viewports instead of model space so I don't have to switch on/off countless layers all the time.
The problem is that quite often layers just turn into wrong draw order and don't come back even if I hit REGEN or REGENALL command. To solve this I have to zoom out, jump out of the viewport by doubleklick outside, use REGENALL command and then jump back to viewport so I can keep on working. This is extremely time consuming especially if it happens every 3 minutes, over and over again.
We have an intern that has somehow made it impossible for her to edit inside viewports(switching to model space) on her layouts. None of us has seen this before and do not know how to reverse what she has done. This happens with any drawing she opens. She can edit when in the model space tab, but when she goes to one of the layout tabs and double clicks on the viewport she cannot edit. The viewports are not locked.
We have had several people look at it and cannot find what command or setting she changed. She does not have admin rights so I do not think she could have run a script. She is not familiar with AutoCAD Architecture, her experience has been limited to Revit.
I am having some difficulties when printing via dwg to pdf a rendered shade plot viewport in a layout. However, there is no problem using realistic shade plot. I am using the following materials: Metal | Alumininum (Anodized Blue, Anodized Blue-Gray), Plastic and Glass and the result is not good as all. I am also looking on a tutorial on strategic place to place light for even more realistic rendering.
Examples.dwg
Example Rendered.pdf
Example Realistic.pdf
I am wanting to insert a second viewport over an existing viewport and have the information in the existing viewport behind the second viewport and not seen. I want the second viewport boundary to be the "trimming" edge of the existing viewport. How do I do this?
View 3 Replies View RelatedI 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?
What is the correct way of copying an existing viewport, What I am actually doing is that to clone a layout by copying what is inside it, everything works smoothly except for the viewports.
I tried to use the clone method, but it didn't work, I also tried to use the copy from method but also to no avail.
In both cases the copied viewport is a dumb black rectangle.
Dim exkeyvport As Autodesk.AutoCAD.DatabaseServices.Viewport = DirectCast(acTrans.GetObject(objId, OpenMode.ForRead), Autodesk.AutoCAD.DatabaseServices.Viewport) Dim keyvport As New Autodesk.AutoCAD.DatabaseServices.Viewport keyvport.CopyFrom(exkeyvport) keyvport.UpdateDisplay() NewblkTableRec.AppendEntity(keyvport) acTrans.AddNewlyCreatedDBObject(keyvport, True)
The only way that partially worked for me was to create a viewport and copy its attributes one by one, but this is exhaustive and not reliable, so what is the proper way to copy a viewport?
In the current drawing I am working in, when I copy a viewport using CO command it copies the viewport but nothing is seen in it. You cannot active it like a normal viewport; it turns into just a square. I do not have this problem in any of my drawings, just this one. If I copy the viewport by right clicking copy with a base point then paste it in the drawing, the viewport works fine. This is more time consuming then just using the CO command.
View 9 Replies View RelatedI'm drafting for an office that likes to create just one single main drawing with everything on top of it (ARCH, STRUC, MEP) and just work frezzing layers on each viewport so of course I have to use "maximize viewport" icon all the time and enter model space from there to work. The problem is when I try to apply hatch it just doesn't show (like if applying hatch to a frozzen layer), I'm very careful making sure that the layer is not frozen or off and still just simply doesn't show, however when I go back to model space is there.
View 7 Replies View RelatedI have three drawings in modelspace and three viewports in one layout (paperspace), I would like to select each modelspace drawing and assign it to each layout viewport.I'm using Visual Studio 2012, .NET Framework 3.5 and Csharp.
View 4 Replies View RelatedI just install the max 2012,but i can just have one viewport,then I go to the viewport configure to change the layout,but it can not change. what is the problem?
View 3 Replies View RelatedI have and array that looks fine in model space but when viewed in a viewport from paperspace, sections of the array look like they are wiped out. Going back to model space everything looks fine. The only way I can get it to fill in is to delete the viewport and create another one. It's then fine for awhile but before long, areas are missing again. I've redone the viewport three times and it's starting to drive me nuts.
View 5 Replies View RelatedI am running the antique CAD 2004 and went to layouts to start setting up a page. When I drew in the view port, it does not show anything of the model space, zero, zip, nada. Tried "Scale to fit", a new view port with no luck. I opened another project file, it work perfectly, just not this one. It doesn't have any Xref's that I can see, but it does have some proxy objects.
View 3 Replies View Related