AutoCAD Visual LISP / AutoLISP :: Diesel Expression - Display Area In Square Feet Not Square Inches?

Feb 16, 2010

How I can update my diesel expression to display the area in square feet not square inches. See expression below.

^C^Cattdia;0;_-insert;AREABLK;1;1;0;$M=$(getvar,AREA);attdia;1

View 9 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Draw Square By Area

Nov 27, 2013

I would like to be able to draw squares by the area they should have. So that if I need a square of 50m2 autocad automatically draws a square of sqrt(50) x sqrt(50)

Because right now I have to draw 200 squares with 100 different areas and I have to calculate and manually draw each one of them.

View 8 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Diesel Expression To Get Attribute Value?

Jan 12, 2012

I have a multileader balloon that I want to have a field that is a diesel expression that will allow me to select a block and extract the attribute value within that block. Is there anyway to do this?

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Adding / Subtracting In Diesel Expression

Nov 14, 2013

I have been asked to make the title text larger (drawing are being issued at 1/2 scale, A1 to A3) on a large set of drawings. My solution was to copy the title attribute block to a temporary location, resize the attributes and redefine the block by running a script (scriptpro). Some drawings needed the title line split to next line so I had to move the sheet counter (1 of xx, 2 of xx etc.) which was linked to drawing file name for number with a field/formula.

The diesel expression shown below extracts that number. My problem is I cant figure out how to I can edit this expression to allow for a set not starting at 1. I had used a formula to subtract the difference,but how do you express this to run in a script?

This is my script......

attreq
0
-insert
ftc-gwp-a1-nosheet-stb=ftc-gwp-a1-nosheet-stb
0,0
1
1
0
[code]........

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Edit Diesel Expression In Field

Sep 2, 2011

If LISP can be used to edit a diesel expression in a field inserted in dtext?  I need to adjust the last number in $(+, $(GETVAR, USERI2),1) .

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Diesel Expression For Attribute And Dynamic Block

Mar 15, 2013

I have a task where I need to automatically insert the drawing number (no path), plus two additional items, one an attribute, the other is within a dynamic block. I can achieve this using fields but now I havce to truncate some of the text.

It seems like I can't edit if I am using fields and attributes/blocks can't be used in Diesel (correct me if I'm wrong)

This is the information I have:

Filename: 123456-AS-WE.dwg
Attribute: Q2
Dynamic Block: X1 - Additional Information

This is what I require: 123456-AS-WE [Q2] [X1]

This is what I have so far: 123456-AS-WE [Q2] [X1 - Additional Information]

In other words, I need to restrict the dynamic block field to the first two characters.

View 6 Replies View Related

AutoCAD Civil 3D :: Area Units Displayed As Square Feet?

Jan 18, 2013

In Civil 3D 2013, when I execute the _area command, i get results in square feet as opposed to acres.  Under the ambient settings, the area unit is set to acre. how to get C3D to display my area in acres?  I just want it to list the area, not label it.

Also, is there a way to get it to display the area in BOTH acres and square feet?

View 6 Replies View Related

AutoCAD Civil 3D :: Calculate Area Using Polyline - Calculation Not In Square Feet?

Dec 16, 2013

I was just wondering why when I try and calculate an area using a polyine, I am getting a readout of 1.80401967E+07, when I have it set to give me the calculation in square feet? It is an area of approx. 246 Acres.....is this because the area is so large? I am not sure what the "E" stands for or the "+07" at the end....

View 6 Replies View Related

AutoCAD 2013 :: Get Area Option Of Rectangle Command To Work In Square Feet?

Jan 10, 2014

Is there a way to get the Area option of the rectangle command to work in square feet rather than square inches?

View 9 Replies View Related

CorelDRAW X4 :: Area Calculations - Square Inches

Sep 18, 2008

Is it possible to draw a shape in Corel Draw and get the area from it?  IE: Square Inches. 

View 14 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Conversion Of Base Routines To Diesel MACRO Based Routine

Jul 3, 2012

" Convertion of AUTOLISP base routines to Diesel MACRO based routine to be used in a AUTOCAD LT based platform "

Here i am attaching the lisp file for ready reference.

View 1 Replies View Related

AutoCad :: Display Area Of Closed Polyline As Feet Inch Rather Than Feet As A Decimal

Sep 20, 2011

Is there a way to make AutoCAD2012 display the area of a closed Polyline as Feet- Inch(ex 22'-4") rather than the feet as a decimal (ex feet=22.3333333) as it does when the units are set to Architectural or Engineering?

View 1 Replies View Related

Revit :: Error While Collaborating / Square Feet Per Foot

Nov 1, 2012

We are collaborating in Revit. While working in a local file, everything seems to be moving along well. After a little while, if we try to save and/or synchronize with the central file, we get the error message; "square feet per foot." We then get another warning that says the file was not saved. We are unable to save of synchronize. The work-around we have come up with is to save as a new local file. This works for some time... saving and synchronizing without problem - but only for a while.

View 5 Replies View Related

AutoCAD Civil 3D :: Area / Square Area In Closure Summary Of Mapcheck

Oct 23, 2012

How to changes the settings for the "Square Area" in mapcheck's closure summary.  When I right-click the dwg name in the Settings tab of Toolspace and choose Edit Drawing Settings, then Ambient Settings, I see the Area settings, but in the closure summary, there is also "Square Area".  Why are these both there?  It WOULD be nice to show sq. ft. as well as acres, but I can't find anywhere to edit it.

Civil 3D 2012
Windows 7 Enterprise SP1
Dell Precision T3400
(Q9550 @ 2.83 GHz)
8GB RAM
Nvidia Quadro GTX 650 Ti BOOST

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Move A Named Block Left 5 Inches

May 24, 2012

I'm dabbling in lisp to reduce some drafting time. I'm looking for a way to move a named block left 5 inches. The names block in this instance is "Bricks". What would be the easiest way of writing this in lisp form? I searched through the forums and I couldn't find what I was looking for. This is not after an insert command. This is a block that currently exists in the drawing template.

View 9 Replies View Related

AutoCAD Civil 3D :: Pipe Tables - Size Column To Display In Inches Rather Than In Feet

Apr 12, 2012

I've got the Pipe Table style just as I need it except for one thing. I have all circular pipes and I would like the "size" column to display in inches rather than in feet. In the past I was able to multiply this number by 12 in the style composer but that doesn't seem to work anymore.

View 2 Replies View Related

GIMP :: Make Free Select Non-square Selection Perfect Square

Mar 22, 2013

I used the free select tool to free select an area of an image that is not a square (odd shape), how do I make that selection a perfect square if pasted to new image or new layer??? rectangular would be fine too...

View 14 Replies View Related

AutoCad :: Calculate Square Mm Of Area?

Nov 5, 2013

If I want to calculate the square mm of an area, how do I do so? I know this should be really simple but I can't get the results I want. Let's say I have a rectangle (2D) and I draw somew circles and polylines within it that are 'cut out' from the rectangle....how does one calcualte the remaining square mm?

View 9 Replies View Related

AutoCAD LT :: Area Calculation For Square Footage?

Sep 11, 2012

how the area calculation works for finding the square footage of a dwg.

I can easily get a rough estimate of square footage on L X W....but when i use the area measuring tool, i get total inches and a total sq foot estimate of 1.7xxxxx which i don't understand.

View 4 Replies View Related

AutoCAD 2013 :: Obtaining Square Footage Of Area

Mar 11, 2013

I used to be able to obtain the sqare footage of an area with the AREA command. A list would generate about seven or eight lines, listing the square footage, inches, perimeter etc.

Now all i see is one line; the area/perimeter (see attachment). Did i change a setting somewhere to obtain this simplify version of the AREA cmd? Something is not right...

I tried the MASSPROP and MEASURE GEOM, those will not show the square footage. This used to be so easy, what am i missing...

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Change Sum Area Calculation Mm2 Into M2

Jan 6, 2012

i've got a lisp-routine that calulates multiple area's and put the sum in text in the drawing on the place i select.

the sum has to be devided with 1000000 so that it is in m2.
 
the lisp-routie i use is:

(defun c:ca(/ pt ent txthgt)
;;; bepalen van de teksthoogte indien current style height = 0
(setq txthgt (cdr (assoc 40 (tblsearch "STYLE" (getvar "TEXTSTYLE")))))

[Code]......

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Area Of Multiple Objects

Nov 3, 2008

I have a lisp I use to calculate the area of an object. The section below is the area part of it:

(setq ojt (entsel "Select object to get area of... "))

(command "area" "o" ojt)

(setq oarea (getvar "area"))

I want to modify it to add the areas of multiple objects. Unfortunately it is not as simple as;

(setq ojt (ssget "Select object to get area of... "))
(command "area" "a" "o" ojt)
(setq oarea (getvar "area"))

So how would I go about doing it?

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Round Down Area Of Polyline

May 8, 2013

I have a closed polyline that i can add the area to via a field in mtext using the options under area. I would like the area to always be rounded down to the nearest square meter. Is the a way to do this via the acfields.fdc file?

View 8 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Pick Point And Measure Area

Jan 31, 2013

I'm wondering if there is a lisp possible to measure area's by pick point (as in bpoly). This little feature exists in Microstation so i was looking for something similar.

Is it also possible if this lisp can measure areas from an external reference (dwg, dxf, dgn, shp etc..)? I'm kind of new to AutoCAD in that sence.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Accessing Hatch Area From ActiveX

Mar 30, 2007

Hatch objects: Note To access this property, use the IAcadHatch2 interface.How can I access the Object.Area of an AutoCAD hatch. AutoCAD 2006 has properties that can be assigned to Fields so why can't I find the object att- area in any lisp vars?

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Multiple Polyline Area Labels

May 16, 2012

I have many floorplans and each room has a polyline around it.

What I'd like to do, is be able to select multiple (or single) polylines and have a dynamic field with the area attached to each polyline placed in the middle (or on a consistent edge, say top left). Preferably with custom units as we use mm for the drawings, but would want the area in m2. Also custom text heights.

I can find a lot of 'put the area in the middle' scripts, but they're either not dynamic or they require a click to place each one - and with over 700 floorplans and over a hundred or more rooms on some, it's not really possible to do each one individually!

View 9 Replies View Related

AutoCAD 2013 :: Commands Only Work In Inches - Not Feet / Inches

Mar 20, 2013

Out of nowhere my AutoCAD commands such as line, offset, circle, etc will only work if i type in the amount in inches. I use feet / inches when i use these commands. It says specify second point... Not sure what this means. For example I want to offset a line 15'-8". It won't let me do that. If i offset a line at 146" it lets me do it.

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Display Height Of 3D Object To 3 DPS

Jun 14, 2013

I have this lisp which will display the height of a 3D object to 2 dps. What I need is for 3dps to be displayed but I have no real understanding of LISP coidng so I can't work out where this is specified in the routine.

Why this LISP does not work when I try to use it in a drawing which has a Pointools POD file working (or previously had one) within it?

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Link Attributed Block With Polyline To Get Area

Sep 13, 2013

I'd like to set up a blockwith different attributes like Roomname, Floor, Area,...

Therefore I'd like to link a polyline of the drawing with the block and it shows me its area. I know how it works with fields, but not how to connect it when the field is within a block.

Is there a LISP for that?

View 4 Replies View Related

Photoshop :: Cropping Non Square Area

Jul 6, 2013

I have the following psd file which my designer provided for me: 

It's made up of all layers and smart objects and all stuff I have no clue about it. I need to make it so only the bubble is isolated, and everything else is eliminated (i.e. the character and the three bubbles going from his head are gone). Cropping almost works, but as you can see at the bottom the bubble if I try to do a rectangular crop it will catch some of the characters head and the three bubbles.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Display Plot Styles In 2012

Mar 18, 2013

Attached LISP will toggle the 'Display Plot Styles' for all layout tabs or the current layout tab.  In 2010 it would not affect model space. 

With 2012, AutoCAD added 'Display Plot Styles' as an option on the model space tab.  This routine now affects that tab. 

How to make it not change this setting for the model space tab?

View 2 Replies View Related







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