AutoCAD .NET :: Setting PS Viewport Named View

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


ADVERTISEMENT

AutoCAD 2013 :: Linking A Paperspace Viewport With A Named View

Nov 21, 2012

I am working on a rendering on vanilla AutoCad 2013, and I am getting frustrated with having to reset my viewport to the named view every time I move my camera.

I know that when you create a viewport you can call up a named view, but is there any way to link it permanently?

View 2 Replies View Related

AutoCAD Inventor :: Setting Multi-Value Parameter From Excel Named Range Values

Nov 20, 2013


I have a Multi-Value Parameter "MV" that I want to populate using a Named Range from an Excel file that is already populating other parameters for the same file.

I currently have the file working by populating "MV" by using the snippet from iLogic below...

MultiValue.List("MV") = GoExcel.CellValues("filename.xls", "Sheet1", "A2", "A10")

The reason I don't like this method is because if ever that range changes... all the iLogic code will have to be updated as well. How to set a Multi-Value Parameter using a Named Range from an Excel file? I assumed the below snippet would work but I am receiving

"Array was not a one-dimensional array." as an error. 

MultiValue.List("MV")=GoExcel.NamedRangeValue("Named_Range_Value")

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Can Add Named View Control To Quick Access Toolbar?

Dec 8, 2011

I've made a failed attempt to add the RIBBONCONTROL Named Views to the main Quick Access Toolbar. The Customize User Interface dialogue box (CUI) seems to allow me to drag the Named Views  RIBBONCONTROL from the command list to Quick Access Toolbar 1. I don't see the "forbidden" icon and the blue insert bar shows up when I perform the drag operation.

However, I suspect there is some compatibility issue, because the command doesn't pop up when I release the mouse button at the end of the drag operation. Using command QUICKCUI and trying to drag Named Views RIBBONCONTROL directly to the Quick Access Toolbar (on screen) seems to be allowed likewise, but doesn't work also.

Using the regular View Manager Dialogue is not the kind of solution I'm looking for, because in the View Manager it takes at least twice as much mouse clicks to change to another view.

Any way to reach the desired customization? Should it be reported as a bug to Autodesk?

View 5 Replies View Related

AutoCAD 2013 :: How To Scale The Layout View And Remain The Viewport View

May 16, 2012

i have a template, created a viewport and fit the model view in the layout space. However, when i scale the template... the viewport model doesn't follows the layout scale. Is there any ways to fit it so that when i scale the template i don't have to set the view again.

View 8 Replies View Related

AutoCad :: Model Space View To Match Viewport View?

May 14, 2013

Let’s say you have a large building plan in model space but there is only one small area of the building that the view port is looking at. Is there a way that you can draw around that viewport and then take that into model space and paste it in the same place so now you have the same area located in both views?

At the moment I need to try and work out where the view is by drawing a rectangle around the correct area of the building and this is time consuming.

I could then trim/delete everything else outside that box.

View 4 Replies View Related

AutoCAD .NET :: Setting A Layout Viewport Style

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

AutoCAD LT :: Setting Up Viewport Extents Of Drawing?

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

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 Civil 3D :: Annotation Scale Setting Is Being Ignored In Viewport

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

AutoCAD .NET :: Modify Quality Setting - Shaded Viewport Options

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

AutoCAD Civil 3D :: Viewport Type Setting For Plan / Production?

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

AutoCAD Visual LISP / AutoLISP :: Setting Option For 1"-30' Viewport Scale

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

3ds Max :: Viewport Lag In Quad View Not In Single View

Sep 30, 2013

even in an empty scene my framerate in the quad viewport is about 7, 8 but in single view its 30-40..

I'm a little unsure if it was low like that before and I just realized now or sth. has changed. (Guess it has not been so slow as its really annoying) Using latest NVidia drivers and a 3DConnexion Navigator with 3DS Max 2013.

View 9 Replies View Related

AutoCAD 2010 :: Viewport Changes To Top View

Dec 14, 2012

I have a problem with one specific drawing where I have created a right viewport; however, if I double click in the port to enter model space, the viewport automatically changes to a top view. If the viewport is locked, no change to the view. This problem only exhibits itself in one drawing so it must be some setting that is drawing specific.

View 1 Replies View Related

AutoCad :: Rotate A View In Viewport

Mar 8, 2008

I have completed an elevation view and made a viewport to view it in paperspace. I want to make another viewport and rotate the view so that the area where the elevation view was drawn is aligned with the elevation view.

View 9 Replies View Related

AutoCAD Inventor :: Setting A View Scale

Feb 19, 2005

I can read a view scale with:

BaseViewScale = oDoc.Sheets.Item(1).DrawingViews.Item(1).Scale

But When I try to use the following line to change the scale, I get a compile error.

oDoc.Sheets.Item(1).DrawingViews.Item(1).Scale = BaseViewScale

What type of variable should BaseViewScale be (single, double, string)?Inventor Routed Systems 2010.

Subscription Advantage Pack SP3
Vault Collaboration 2010
Windows 7 x64
Dell Precision M6400 Covet

View 8 Replies View Related

AutoCAD 2010 :: View Port Setting For 3D

Aug 3, 2012

I have a 3d object located in model space and have opened up a view port in paper space to view the object. Now I have set up everything as I want this includes several other view ports not showing the 3d object. my problem is that I can use the hide command in the view port containing the 3d object and get the image I want. However switching tabs or doing just about anything causes the 3d object in the view port to revert back to wire frame. Is there a way to lock just the one view port with hide mode on without effecting the rest of the view ports?

View 2 Replies View Related

AutoCAD Civil 3D :: Setting Min And Max Of Section View

Mar 8, 2012

How to set (not to get) maximum or minimum elevation of a grid of specific section view in COM API c++?

or Just tell me the name of the function in COM API c++?

View 3 Replies View Related

AutoCAD Inventor :: Setting View Via ILogic

Mar 16, 2012

I have been looking around but have not been able to find examples of how (If I can) set the model views via iLogic. 

What I am trying to do is to have the view change from "Master" to the view I have created for each part, so when I go to create drawing all I have to select the right view and the part changes to match view.

View 5 Replies View Related

AutoCad :: Setting View Port Scale

Apr 18, 2012

When setting the viewport scale how do I know if I'm scaling to an A3 plot or A1 etc.

View 9 Replies View Related

AutoCAD 2013 :: How To Rotate View In Viewport

Nov 20, 2013

I am trrying to rotate the view that I have in my viewport. I used to use a command that had the options Alingn, rotate etc but in this moment I do not remember that command. I you do not remember either

View 6 Replies View Related

AutoCad :: Polygonal Viewport Synced With View In SSM?

Sep 6, 2011

When I use the SSM and use the "Place on Sheet" command to create the Viewport from the MS View DWG file, it comes in only as a rectangular Viewport. I tried to see if there's a way to draw a Polyline and select it as a MS View but I don't think that's possible.

Any way to do this without breaking the link between the View DWG and the Sheet DWG?

View 1 Replies View Related

AutoCad :: Rotate A View Through Viewport In Paperspace

Oct 27, 2011

I need to rotate a view through a viewport in paperspace and tried to use the mvsetup command but LT doesn't recognize that command. How I can do it?

View 5 Replies View Related

AutoCad :: Locking VP-camera View In Viewport

Jan 18, 2011

So I have set camera view in my viewport for a perspective view. This goes okay but when i close my drawing and open it again.The view was changed. I have tried locking my VP, set UCSFOLLOW to 0, display locked=YES as stated on other VP problems in threads. What setting am i missing?

View 2 Replies View Related

AutoCAD Civil 3D :: View Port Scale Setting

Sep 25, 2013

How to set the view port scale setting in autocad civil 3d i need to print using plan production template. 

View 1 Replies View Related

AutoCAD Civil 3D :: 2011 Section View Setting

Jun 13, 2012

I am just starting out in Civil 3D and we are using the 2011 version.  Anyway I have created cross sections along the centerline of a profile.  How do I get the elevations and offsets to show up without digits to the right of the decimal, in other words to the nearest foot (ie. 3820.00 = 3820, 50.00 = 50)? 

View 1 Replies View Related

AutoCAD Civil 3D :: Align Section View In Viewport

Dec 8, 2012

When using "Create Multiple Section Views", some of the information is placed outside the viewport.

How can i get this information inside ?

View 2 Replies View Related

AutoCAD Civil 3D :: Section View Outside Viewport Limits

Mar 29, 2013

How do you clean up areas where the section view is outside the viewport limits. C3d should have moved the top section to the next sheet becuase it didn't fit. How do you tell it this? An automatic toggle somewhere?

View 4 Replies View Related

AutoCAD 2010 :: Set Top View Without Changing Viewport Scale

Jan 16, 2013

We have a number of drawings, where the views in paperspace viewports are not orthogonal to the XY plane. Is there any way that we can adjust the viewport view to a TOP view (a view aligned to the XY plane) without changing the viewport scale?

If I activate the viewport and use either PLAN or View->TOP my viewport scale is destroyed, and the view is rotated along the Z-axis.

View 2 Replies View Related

AutoCAD 2010 :: View Command Perspective In Viewport

Nov 30, 2012

I've struggled with the old issue of shifting images in rotated viewports. We use georeferenced aerial photography by way of these images inserted into their own drawing and then Xreffed into another drawing for printing. The issue is, the image appears shifted in some viewports. Most of the time it prints fine but not always. I searched the discussion groups and found a post a few years ago that a reply user stumbled across a quasi workaround. When the view command's Perspective is turned on and then off within the viewport, the image appears to be locked in it's correct position, not shifted. I have successfully used this procedure several times over the years until now. I have half a dozen drawings that when I turn the Perspective on and then off in a viewport, the image will not display. The xref is loaded and the layer is turned on in the viewport but the image doesn't show. What is the perspective portion of the view command within a viewport?

View 2 Replies View Related







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