AutoCad :: Extracting Viewport Scale As Field Data?

Oct 31, 2011

I have been through all of the system variable field sources but cannot find one that stores the scale of a viewport. I want to add a field to my drawings that prints the viewport scale and updates it automatically if and when I change the scale.

View 3 Replies


ADVERTISEMENT

AutoCad :: Inserting A Field In Modelspace That Indicates Scale Of A Viewport

Oct 16, 2013

How would I go about inserting a field in modelspace that indicates the scale of a viewport. I only have one viewport.

View 5 Replies View Related

AutoCAD Civil 3D :: Field For Viewport Showing XREF Scale First

May 7, 2013

I've got a drawing that contains an XREF. I've got a field reading the viewport object's Custom scale>Use scale name. However, whenever the drawing is loaded up all of the XREF's scales get imported. Since they contain the same scales, the field changes to read the XREF scale instead of the one it was set to. They are the same scale, but the field reads the XREF one first. Here is a screenshot showing what I'm talking about. Notice that the viewport's properties never show the scale as 1:20_XREF, but the field does. 

I've been having to click "show all scales", do a SCALELISTEDIT, remove the XREFs, then do a UPDATEFIELD. I have to do this every time the drawing is open. It stays that way until C3D is closed. This becomes a problem when I go to PUBLISH a sheet set. If I haven't opened all the sheets in the sheet set and changed the scale list then they all get the wrong scale list shown. 

Infrastructure Design Suite Premium 2014
Civil 3D 2014 x64
Windows 7 64-bit
6GB RAM

View 7 Replies View Related

AutoCAD 2013 :: Scale Of Drawing Field Versus Scale Of Object

Jun 27, 2013

When I open a new drawing in my AutoCAD 2013 that I just recently installed last week, I encounter a problem that I am not familiar with from previus versions of AutoCAD I have worked on.  First of all, the units default to decimal, and I want them to default to architectural, with feet and inches.  I have to type UNITS in the command line every time I open a new drawing in order to adjust this.  I have AutoCAD for Architecture 2012 on another computer, and the program automatically defaults to architectural units upon opening up.  Just to let you know, the program I am having this difficulty  with is part of a package called Autodesk Building Design Suite 2013.  I was under the impression that it included AutoCAd for Architecture, but I think it has only standard AutoCAD.

The scale of the objects I draw vs. the scale of the drawing field is very out of proportion.  What I mean is, when I open a new drawing and draw a 30' -0" line, the line appears so long on the screen that I cannot see the whole object, even if I zoom out to the maximum.  I should be able to see the object in it's entirety.  In fact, when I draw a line that is only 12" long, even when the zoom is all the way out, the line looks huge in length.  I have tried adjusting the units to the architectural/inches setting of course, and I have tried adjusting the scale in model space from 1:1 to 1/4'=1'-0", but nothing is working.

View 4 Replies View Related

AutoCAD Civil 3D :: Use FDO Data To Populate Custom Data Field Expression

Apr 10, 2013

say you make some parcels in your project with custom data fields like: id_no, permit_no, acres_served etc. you attach an agency provided shape file via an fdo connection that has many fields of information like above.

when you right click on your parcel and do parcel properties you get a tab that lets you input the custom parcel data.

lets say you print an fdo map label showing, say, the id_no, provided in the shape file.  Then in your custom parcel properties for id_no you type that in.

is there a way to make an expression to put in the other custom parcel properties that will read, say, the permit_no(id_no) from the fdo like and put that information in the custom parcel property field?

View 4 Replies View Related

AutoCad :: Extracting Data From 3D Object In A Tab

May 28, 2013

how to extract geometrical data (lenght, width, height) from 3d object to a tab or an external file?

View 0 Replies View Related

AutoCAD .NET :: Extracting Data From A DWG File?

Sep 19, 2011

I have been asked to write utility that will open a DWG file, retrieve layer data from the file and put it into a spreadsheet.

I know nothing about AutoCAD but I have been reading on this forum and gathering information. I have found that I have to write a dll that will be used inside of AutoCAD. Here is what I have so far:

1. I have AutoCAD 2008 (will convert to 2011 or 2012 later)

2. I have .NET Framework 4.0

3. I have Visual Studio 2010 Express

4. Needs to be done using VB.NET.

I need to do this using .NET.

Do I need the 2008 API?

Could this be done easier using VBA?

Once I create the dll how do I use it inside AutoCAD?

How do I grab the layer data for studs and braces?

View 3 Replies View Related

AutoCAD Civil 3D :: Label Styles Annotation Scale Versus Viewport Scale?

Jun 26, 2009

am in the process of setting up a standard file for all designers to use our local office. This file will have most of the styles created for profiles, alignments, surfaces, profile views, etc... as mostly specified by the customer and industry standards.

I am having trouble maintaining the correct annotation scale in the viewport in paperspace and when plotting.

The attached word document has 3 figures. Fig 1 shows the correct viewport scale and correct annotation scale. Fig 2 shows how the annotation scale abruptly changes during the plotting process. This abrupt annotation scale change sometimes happens during the regen process or when I switch from layout to model space and back to layout.The annotation scale goes from 1:1 to 1:40 just as in the viewport. This change in annotation scale is not supposed to happen because I want to preserve a certain plotting height for my text versus a viewport scale by using various annotation scales.

I have researched the procedures for annotation scale and have not found any info related to this "abrupt change in annotation scale".

Curiously , this abrupt change in annotation scale does not happen if the text does not belong to any styles within Civil 3D. Stand alone text stays at the correct annotation scale and is not affected in the same way.

View 9 Replies View Related

AutoCAD Architecture :: Synchronize Annotation Scale To Viewport Scale?

Mar 29, 2011

I have a Viewport set to scale 1:100 and the Viewport is locked.The Annotation Scale displayed in the Viewport was 1:50.

When I clicked on the Synchronize Icon beside the Viewport Scale, the Viewport Scale changed, even though the Viewport was locked.

I was expecting the Annotation Scale to synchronize to the Viewport Scale.

Is this how it is supposed to work? and why does a locked Viewport Scale change?

View 2 Replies View Related

AutoCAD Civil 3D :: Making Annotative Scale Different From Viewport Scale

Nov 8, 2013

I have a drawing with several layouts, and in one particular layout only, I want the text to be smaller than the annotation scale would dictate (the viewport is 1"=300', but I want the text to display at 1"=50' annotation scale).

I tried selecting the viewport and changing the "annotation scale" property to 1"=50', then the "standard scale" property to 1"=300'.

Strangely, this seems to work for a bunch of MText objects I have in the drawing, but it won't work for an alignment station label group or for a particular linetype...for some reason, those two things insist on having their annotation scale equal to the viewport scale.

I tried messing around with the alignment station label group's style but couldn't figure anything out. As far as the line/linetype, I'm completely at a loss why that one wouldn't change.

View 3 Replies View Related

AutoCAD 2013 :: Viewport Scale List - Zooms With Each Scale

Sep 6, 2013

AutoCAD 2013 2D - when scrolling the viewport scale list, the viewport zooms with each scale instantly.

View 1 Replies View Related

AutoCAD Map 3D :: Extracting Shape File Data

Oct 9, 2012

I am trying to import a Shape file and extract the attribute data associated with the 'lines' (sewer pipes) into text format.

for example a pipe has an attribute showing the pipe diameter and intead of having to manually type it out I would like a way to extract that information.

Is there a way to do it? Whether using a specific method during the importing of the Shape file or another process?

*I use AutoCAD Map 3D 2011.

View 4 Replies View Related

AutoCad :: Extracting Data From Block To Table

Jun 8, 2012

Here is what i would like autocad to do

I work in architecture, and every time i create an opening (door, window) i add a block next to it with an attribute to the reference number

I was wondering if it would be possible when creating that little block to give it more information and later on extract the information from it to a table
Ex: door 106-02, steel finish, 3'x7' , isolated, steel frame, 2" thick etc.

View 0 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Extracting Data From Excel File?

Jun 12, 2013

We have a custom LISP program (Written, upadated in 2003) that takes a keyed in item number, opens and searches a .txt file with four coulmns, for the keyed in item number (column 1) and returns a part number (column 2), description (column 3) and any information in column 4.

Here is the Part of the cod in question:

(setq recx (open "H:/ACAD2012/alcocustm/LISP/hardware.txt" "r"))
(setq d "?")
(setq rec (read-line recx))

[Code]....

A quetsion was asked if the data in the .txt file could be put in an Excel file. I tried looking at other post, but I can't seem to find a clear cut way to open and extract the data. Or this old dog overlooked a boand. Is there a easy way to do this, similar to the above?

View 8 Replies View Related

Lightroom :: GPS Data From D-SLR Doesn't Appear In GPS Data Field

Nov 18, 2012

The gps data from my D-SLR camera does not appear in Lightroom 4 after importing the pictures

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Field Update Customscale Viewport

Feb 22, 2013

I'm trying to create a field in a block (titleblock) that will automaticly update when I change the viewportscale.It's mostly only 1 viewport, sometimes a second of even 3rd but, they are not important to the titleblock.

I've read aboud fields and diesel expressions. I've tried and it works. there is only 1 problem,It only works with the object (when field expresssion, object, custom scale) in this case the viewport pressent at that time. 

When i use the same field with the same expressions, it does not recognize the viewport/object.Is there a way to make the field, diesel expression or even something else, work without it's need for a

object name. Perhabs that the expression gets the viewportname from a lisp, something like: (setq ss(ssget "X")) ;some thing like this Can it be done?

View 8 Replies View Related

AutoCAD 2010 :: Field Will Not Show Scale

Jul 21, 2011

We created a field that is grabbing an object, the property of the object is the standard scale. Fields will not show the scale, it instead shows the word custom. This appears to be a AutoDesk bug. Please see the attachment.

View 9 Replies View Related

AutoCAD Civil 3D :: How To Use Field Book Data

May 23, 2012

I have an alignment which is complete in all respects. Profile also has been finalized. now the the survey (joint cross section) has been carried out and the output is in the form of field books. we hav the data in formate like we hav km and than offset left and right and than elevation.

my question is that  how to use this data in civil 3d for creating cross sections and computing earth fill quantities.

View 7 Replies View Related

AutoCAD Architecture :: Title Block With Scale Field?

Jul 6, 2011

One of the guys here has created a title block which has a scale field in it, this field reads the scale at which the title block is brought in, by use of an invisible attribute (he used the block in model space so that's why I scale them up). When he xref the dwg into my main drawing all is fine and the scales are as they should be but when he prints, the scales all show 1:1 on the print and in the main drawing. Could this be due to the fact that the xref is brought in at 1:1? But we can't see why this would change it as the block is obviously still at e.g. 1:50 in the xref.

[URL]

View 1 Replies View Related

Illustrator Scripting :: Extracting Data From Excel To JavaScript Or Vbscript

Mar 16, 2012

I was wondering if there was a way to extract data from Excel to be used in Illustrator. I know there is an option of variables and xml, and I don't want that. I've seen and tried out how to read illustrator and write to excel, and I get that.  What I would like to do is pretty much the opposite:
 
1.Pre-fill in an Excel file(.xls,.csv, doesn't matter) with data such as a filename in column 1 and (Replacement Text) in column 2 and close manually.

2. Run script(VBSCRIPT,Javascript, doesn't matter)

3.For each column in Excel file where cell in first column is not empty, open Illustrator Template with placeholder of "DWG" textframe and replace the frame titled "DWG" with Replacement text from Excel in Column2.

4, Save each to a PDF file and name file with text from Excel Column1(Filename)
 
In a nutshell, there will be a single illustrator template with a premade textFrame with a name of "DWG". Excel will contain two columns, one for the filename to be named and one for the relative text to replace with the placeholder in AI.

View 17 Replies View Related

AutoCAD 2013 :: Extract Data From Excel To Field

Feb 2, 2013

I enter data into an Excel job setup worksheet. I then want to be able to extract data from given cells in the Excel worksheet, and have this become fields in AutoCAD. I do not want to use a table in AutoCAD - I want (ideally) to have the Excel data come in to AutoCAD as a field. I can see that Data Links tends to come in only to a table in AutoCAD. 

View 1 Replies View Related

AutoCAD Civil 3D :: Field Data For Surface Creation

Feb 1, 2013

I have a 1 mile road topo coming up for design purposes.  The curb is standard, but there is full curb & depressed curb.  If you had your way from the CAD seat, what shots do you prefer?

Most accurate I've seen iis Centerline, Edge Pavement/Edge Concrete Gutter, Flowline Gutter, Face Curb, Back Curb.  More fieldwork, but made a good product. 

What I have seen is CL, EP, BC, then "let them just use a template" and several variations thereof.  

I have never seen a good way to automatically offset from say BC only and  handle depressed curb by field coding.

View 1 Replies View Related

AutoCAD 2010 :: How To Choose Attribute / Field Data From A List

Mar 28, 2012

How to choose the attribute or field data from a list?
 
When using the “title block”, attributes and fields to better control the information that belongs to the drawing, then it worth to have a feature that allows selecting this information from a LIST.
 
For example, if we need to specify “location” of the project, then it is better to have sort of list from which we can select the location of the project the same we do it in the Excel (as shown in the screenshot below).
 
Is there such feature in the AutoCAD? To choose the information from a list?

View 4 Replies View Related

AutoCAD Civil 3D :: Can FIELD Read OBJECT DATA Table

Apr 12, 2012

I am just wondering whether FIELD category can access the OBJECT DATA Table ?

I want to use a block to display its OD table's attributes as Annotation text , so that the Text will update when the OD table change.

Or do I need use the Data connection for this purpose ?

View 9 Replies View Related

AutoCAD .NET :: Update Field Data - Redefine Block Attributes

Jul 7, 2011

I've got a block with multiple attributes. This is not a problem to redefine the blocks attributes.

Some of the attributes contains dynamic fields (blockplace holder x y z parameters) When i insert a block with such atributes that includes the blockplaceholder dynamic fields i get

X: InsertionPoint => It is recognized as an Dynamic field but displays InsertionPoint. and does not update the value.

How can i update the fielddata from vb.net?

Part of the code I use (where i think the problem is)

For Each attid As ObjectId In refbtr attent = tr.GetObject(attid, OpenMode.ForRead) If TypeOf attent Is AttributeDefinition Then Dim attdef As AttributeDefinition = attent Dim attref As New AttributeReference() attref.SetAttributeFromBlock(attdef, myBlockRef.BlockTransform) Dim attrefid As ObjectId = myBlockRef.AttributeCollection.AppendAttribute(attref) tr.AddNewlyCreatedDBObject(attref, True) End IfNext

View 6 Replies View Related

AutoCAD 2013 :: Link Vport Scale Into Title Block As A Field?

Oct 7, 2013

if it possible to insert vport's annotation/standard scale into title block as a filed? Does some variable exist or I have to create a formula?

View 2 Replies View Related

AutoCAD Civil 3D :: Point Table With Alignment Station Data Field?

Jun 1, 2010

I have been provided with Surveyed Utility Locates along an Existing Roadway. These are provided to show conflicts between the New Storm Sewer System and Existing Utilities such as Water, Sewer, Gas, Elec, etc. The survey however is incomplete as it was prepared a few years ago and the Storm Sewer has just been designed. Yes, I can create points and provide them to the County Surveying department. However, before this is done, I must provide an easily-understood format of the new survey locations to the County Project Management.

To provide a Point Table which references the Surveyed Points' location in reference to the roadway stationing (Alignment). I have attached what the point table is to look like.

I am unable to find the desired data reference in the currently provided data field selection. Am I just missing it or is this a "Wish List" item?

View 9 Replies View Related

AutoCAD Civil 3D :: ID Numbers With Prefix From Separate Object Data Field

Jan 31, 2013

AutoCAD Civil 3D 2009 w/Updates, Windows XP Pro, SP3

I am looking for a tool or routine to automatically add a unique object data ID number to Points or lines of a sewer system, that extract a prefix number from a seperate object data table (a location grid of closed polygons), then add a sequential number to each selected object. For example, 12 manhole points and 3 cleanouts are located with in one grid polygon. The Grid polygon has a coded id like 61280206, I want to be able to select all the MH and CO points in that grid polygon and have the new ID numbers be 6128020601, 6128020602, 6128020603, or to be able to specify the starting number like 6128020621,(for adding new points and continuing the sequence.

Better yet would be a routine that would be able to apply this system to all the points in the entire project area, extract the number from the appropriate grid polygon, and fill the numbers in one operation. 

This is for the initial id numbering of a Cities, Sewer, water and electrical system. 

I have searched for and found many LISP routines that do some of this (like ODCOUNT, etc), but none that I have seen have the data table extraction abilities. I do have one that works like this and files in the prefix number from a named views. I have several thousand grid cells (880ftx880ft). Perhaps there is a way to use my polygons w/table to create and name views

View 3 Replies View Related

AutoCAD Civil 3D :: Point Description​ Gets Truncated After Mark From Field Data

Aug 23, 2013

I am trying to get my points to displey the " mark from our descriptions. The description keys are set to $* and I have tried changing the Label Style from full description to raw description. I cannot get any information after the " mark from our field data. LDD used to put it in, but civil 3D truncates the information. I know I can do a find and replace in the .csv file, but would rather not have to continually edit the .csv file. Where the setting in civil 3D is to allow this to happen? I have even messed with the Point File Formats to no avail.

View 2 Replies View Related

AutoCad :: Plotting Survey Drawing With Field Data In Text Format

Feb 13, 2012

How to plot a survey drawing with field data in text format, (using Autocad 2008, so that the point number and XYZ coordinates appear on the drawing.

View 1 Replies View Related

AutoCAD Civil 3D :: Find PI Data Of Alignment Object To Plug Into Mtext Field?

Oct 18, 2012

Using C3d 2013.

Where do I find the PI data of an alignment object to plug into a mtext Field?

Field Category and Field Name and any other steps to locating it would be useful.

View 9 Replies View Related







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