AutoCAD Map 3D :: Way To Create Centroid With Z Values?

Feb 20, 2012

Is there any way to create a centroid with Z values?

View 2 Replies


ADVERTISEMENT

AutoCAD .NET :: Centroid Of Closed Polyline2D

Apr 30, 2012

I would like to place text in centre of each closed polyline2d as a batch.

To do this I need to find out the the centroid of closed polyline2d.

View 1 Replies View Related

AutoCAD .NET :: How To Get Centroid Point From Region

Oct 16, 2011

I need to find center of Region (refer to as Centroid in MassProperties of acad, also known as Centre of gravity if 'element' mass is unique). After few days of googling, searchin i this forum... I still can not figure it out how to get centroid point from Region in VB.NET. For Solid3D is easy while it exposes this property, but Region does not reveal any properties except Area.

View 2 Replies View Related

AutoCAD 2010 :: MASSPROP Centroid Algorithum

May 29, 2012

What algorithum is used to determine the centroid when the MASSPROP command is used?

Example, a 3D polyhedra defined by vertices:

2466.0975 2739.0486 2185.3153
0 2013.2174 0
3146.7943 1560.0472 2185.3153
1785.4008 1560.0472 172.0979
3146.7943 1560.0472 172.0979
2466.0975 2739.0486 23.2646

MASSPROP returns the centroid (2466.098, 1957.774, 1153.603).

I have used a second method to determine the centroid writen in Matlab code

>> P = [2466.0975 2739.0486 2185.3153
0 2013.2174 0
3146.7943 1560.0472 2185.3153
1785.4008 1560.0472 172.0979
3146.7943 1560.0472 172.0979

[Code] .....

This uses 'The Quickhull Algorithm for Convex Hulls' and returns the centroid (2095.20268741281, 2084.74098328248, 837.825401397925). There is a massive difference.

I have attached the example polyhedra.

View 2 Replies View Related

AutoCAD Civil 3D :: Get Parcel Centroid / Label Grip Point

Aug 21, 2012

If you can get the co-ordinates of the centroid / label grip point of a parcel.

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Snap To Centroid (massproperties)

Apr 9, 2010

Any way to snap to, create nod, or almost anything to the centroid of a region. I create a region then have to go to massproperities then polyline command then highlight the x value and right click and paste to cmd line then the y value the same way. If there is a way to shorten the process that would be great.

View 9 Replies View Related

AutoCAD Civil 3D :: Create Centroids With Z Values?

Feb 20, 2012

Is there a way to create centroids with Z values?

View 9 Replies View Related

AutoCAD Inventor :: Create User Parameter Values With ILogic

Oct 29, 2012

Macro for writing the sheetmetal Extents width and length to the custom properties.  I need to get these values into the part parameters so that they can be used in the BOM.

I can get this to work if I manually create the "SM_Length" user parameter, but how do I make the iLogic CREATE the parameters if they do not already exist?  I think it would be something added below the "Catch..." just cant seem to figure out what it needs to be.

'look for custom iproperty and try to set it
Try
iProperties.Value("Custom", sExtLength)=Round(SheetMetal.FlatExtentsLength, iRoundValue)
Parameter("SM_Length")=Round(SheetMetal.FlatExtentsLength,4)

Catch
' assume error means not found and create it
customPropertySet.Add(Round(SheetMetal.FlatExtentsLength,iRoundValue), sExtLength)
EndTry

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Create A Selection Set Of Y Values Of Text?

May 9, 2013

What I am trying to do is create a selection set of the "y" values of text.  I've started by pulling out all the text on the drawing, but I need it to continue to grab only the "y" values of the text on the drawing.

(setq alltext (ssget "_x"  (list '(0 . "TEXT")) 
)  
)     

I've tried a bunch of different things but I am still new to lisp.

View 5 Replies View Related

AutoCAD Inventor :: How To Create Part By Setting Common Name And Adding To Different Values Drawn From Parameters

Nov 20, 2013

in iParts factory I would like to create part ## by setting common name and adding to it different values drawn from part parameters.

Please refer to attached image – common name in that example would be “DRILL” and description of the diameter and length automatically taken from parameters in columns “DRILL_D” & “INSERT_L”.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Attribute Blocks - Change 1st Tag Values Automatically According To 2nd Values

Jul 18, 2013

I have an attribute blocks and this att block has two tag values , is there a simple code for to change 1st tag values automaticly according to  2nd values ?

for example :

1st tag (50x50) - 2nd tag ( 100 )    ==> 50x50-100

if i enter 201 valuse to 2nd tag then 1 st tag has to change as 100x100

if i enter 501 valuse to 2nd tag then 1 st tag has to change as 150x510

I attached a jpg file for explain much better

View 9 Replies View Related

AutoCAD Civil 3D :: Description Key Layer Set To No Values After Values Set?

Apr 18, 2013

Is there a way to have no layer value set for the description keys. I set all the layers, and now I realize I'd rather set this to no layers (boxes are all unchecked). I'd rather see no value under the layer column, but there doesn't seem like a way to set this. 

View 1 Replies View Related

AutoCad :: Sum Values That Are Entered As Text Values?

Dec 21, 2012

Can AUTOCAD sum values that are entered as text values? Attached is a table text whose right final values should be all sumed up? Is this possible inside AUTOCAD?

View 9 Replies View Related

GIMP :: Create (PNG) Populated With Text Values And Images From Database

Nov 15, 2012

What I'm trying to do is create images (PNG) that are populated with text values and images from a database. Something I could best describe as being like a mail merge. Can I write a Gimp script to do this? Let me give you some examples that demonstrate of what I want to do:

1 - Create randomly generated Lolcat images where I pull random cat images from a database and random funny text imposed in a layer on top of the cat image

2 - Create address labels where I pull names and address from a database and impose them on top of an image of the state I'm shipping it to.

3 - Create iconography for an e-commerce website that pulls from the product catalog to display the image with text of the category, product name, and size on top if it.

View 2 Replies View Related

Photoshop :: How To Display Pixel Values As Values Not As Percentages

Mar 15, 2013

I'm trying to show, using the eyedropper tool, the actual values of pixels in an 8-bit grayscale image (Mode command confirms that's what's there). In the Info panel, the eyedropper tool displays percentages for every type of color information (K, CMYK), while the "8-bit" field remains blank.

View 9 Replies View Related

AutoCad :: How To Fix Z Values

Nov 20, 2012

Parts of my drawing were not allowing me to distance, dimension or trim them, so I suspected that some of the lines weren't flat. I just checked a troublesome line and it has a crazy Z value. I tried changing Start Z and End Z to "0," but that just moved the line to another place. When I put it back, the Z value changed back. If I'm able to grip points to dimension something, the dimension lines appear way below the points. Other parts of the drawing are fine.

I think I accidentally did something to the WCS, but I don't know what or how to fix this.

View 9 Replies View Related

AutoCAD .NET :: Bounding Box Values

Jul 2, 2013

I am new to autocad customization and i am working on modifying a code written in .Net.I want to ask how to get the bounding box of a block and also I am unable to locate autocad customization file.

View 6 Replies View Related

AutoCad :: 2D Polylines To 3D Then Get / Use Z Values?

Dec 9, 2011

I have a drawing that is a topigraphical survey in 2D its constructed of 2D polylines, I need to convert these to 3D polylines so I can add a Z vertex then move the lines/contours to their Z value currently illistrated by text on the plines.

change the line types and easily move the lines to their correct Z value?

View 5 Replies View Related

AutoCAD LT :: Extracting Attribute Values In It?

Apr 20, 2013

I just want to extract the coordinates and number of survey locations that are represented by point blocks from a drawing.

My template is on the desktop and is named

TAYLOR EXTRACT.txt
BL:NAME C008000
BL:COMMENT C008000
BL:NORTHING N0010003
BL:EASTING N0010003

I get the attribute extraction menu

select some points, verify that points have been selected

specify the above template

Specify the export file name

select ok

returns 0 records

View 9 Replies View Related

AutoCAD .NET :: Writing Attribute Values

Feb 29, 2012

I'm trying to write some code that adds values to attributes of a specified block. I'm able to search for the block, but I'm having trouble editing it.  

Dim acDoc AsDocument = Application.DocumentManager.MdiActiveDocument
Dim acCurDb AsDatabase = acDoc.Database
Dim acTransMgr As Autodesk.AutoCAD.DatabaseServices.TransactionManager= acCurDb.TransactionManager

Using acTrans1 AsTransaction= acTransMgr.StartTransaction
Dim acBlkTbl AsBlockTable = acTrans1.GetObject(acCurDb.BlockTableId, OpenMode.ForRead)
If acBlkTbl.Has("blockname") Then 

*** here I need to get the object found in the active block table and edit it's attributes by attribute name ****
End If
End Using

View 4 Replies View Related

AutoCAD LT :: Extracting Attribute Values

Nov 21, 2012

I am using AutoCad LT 2013 and I am looking to extract at the Wire#, the To_Device and the From_Device.  I really dont care about the block name but if I have to have it fine with me.  I have tried to follow the extraction file within AutoCad LT but havent been able to figure it out.

View 2 Replies View Related

AutoCAD Map 3D :: Connecting Drawings And 0z Values

Oct 22, 2013

Why have i got 0 for all my z values I have followed all the steps in the Guide and still have 0, my x and y axis are ok. Im wondering if it may be something to do with the Digimap and OS downloads.

Another thing, How do i conect all my drawing downloads i have together ive tried the coordinates system and just dont get anywhere.

Downloaded from Digimap i have 20 different drawings of this section but i cant connect them together. I have a catalogue system which is just like a coordinates section with these 20 places. All my drawings are fine they open in autocad fine just need to put them together to link them.

View 9 Replies View Related

AutoCAD LT :: How To Set Values For Document Fields

Feb 25, 2013

The insert fields dialog box contains several fields that must allow the user to define the values for those fields but I cannot find where. For example, in the documents fields category there are fields named "comments" "keyword" "author" etc. Where do I enter the value for them so that when I insert the field I get more than just "---" returned?

View 5 Replies View Related

AutoCAD Map 3D :: Color Values Cmyk To 256

Jun 19, 2013

I have a file from a client that has a table with the color values recorded as CMYK. (e.g.  50, 0, 10, 0)

I'd like to display the colors but I can only figure out how to do it if it's in the 256 color format.  Is there a way for me to convert CMYK color values to a 256 color value.  I realize the hues/colors won't be perfect, and I'll be happy with colors close to what the original data was using.  Maybe there's a way to go from CMYK to RGB, and then to 246? 

View 2 Replies View Related

AutoCAD .NET :: Get All 4 Values Of Bounding Box For Particular Object?

Jul 3, 2013

Is it possible to get all the 4 values of the bounding box for a particular object.I have to plot a curve of maximum point for a particular object on a given path at certain intervals(ex: a block on a curved line and distance between each block should be maintained say 10mm).The problem im facing when im connecting the maximum points is if the path is inclined then the maximum point coonecting line intersects the block at some places.

View 3 Replies View Related

AutoCAD Civil 3D :: Rounding Of Values

Dec 10, 2012

I have 2 surfaces that I am sampling and have the bands depicted in the attached. I would like to have all bands with 1 digit of precision and the values in the Cover Depth band add up. The Cover Depth is supposed to be subtracting the two but is often off by one digit. I have tried changing the rounding options in C3D but there is always disagreement between the data in the bands. 

I tried searching for this issue to no avail. Perhaps I need to have an expression to do the rounding is what one case eluded to. Seems that C3D may use a type of rounding that rounds to the nearest even number?

View 8 Replies View Related

AutoCad :: Duplicate Attributes With Different Values?

Mar 24, 2011

Is there any way to have duplicate attributes in a block but with different values so when I use data extraction both sets of values will be sorted in the proper columns?

This is what I'm trying to achieve:

QTY.....ID.....#...........Description
1.........12.....POSCL....POS CABINET – LEFT
1.........12.....POSWL...POS WALL - LEFT

The block is for a unit that is made up of two fixtures (a cabinet and a wall with a counter top). Our customer uses the same ID for both fixtures and treats it as one unit, whereas our order form lists both the cabinet and the wall separately for production purposes. So both of our fixtures will have the same ID, but will have different product numbers and descriptions. In order for the information to show up in the table properly, I need two instances of an ID, # and Description attribute. If I use a different name for the additional attributes, I will get two extra columns.

View 0 Replies View Related

AutoCad :: 2D With Third Dimension Values For Objects?

Aug 10, 2012

I was told by a customer that he has AutoCAD 2D but that their platform also contains supplementary information regarding the "third dimension", for places, objects, etc ...

If this seems possible to you with AutoCAD 2D, I am wondering where all these data could be accessible for transfering the DWG, including the 3rd dim data, to external platforms ? (in our case 3D virtual worlds) ?

View 3 Replies View Related

AutoCad :: Values Not Showing In Table?

Dec 12, 2013

I've created a table through data extraction using blocks for data. The table isn't showing the text for comments, keywords,title or subject that is in the drawing file for the different blocks.

View 0 Replies View Related

AutoCAD 2013 :: Calculating Values On Fly

Jul 26, 2013

A fundamental question that comes across regularly is calculating values for offset distances, move, radii, etc. If I want to calculate a value of .5 the interface does not accept 1/2 as a valid entry.

View 7 Replies View Related

AutoCAD Inventor :: ILogic Sort Values

Feb 20, 2013

I have an iLogic rule that populates the fields shown below in our title block. The DIM. Values are strings set with H,W,L values. This works well, but I have an additional need to sort these values in ascending order, so the smallest value is first followed by the next largest and finally the largest value. (4.000x5.000x14.000). I haven't had much luck finding any information about how this can be done. I did however come across some code here that someone else was using for a similar feature.
 
Dim sizes As New List (Of Decimal)sizes.Add(bH)sizes.Add(bW)sizes.Add(bL)sizes.Sort()D1 = sizes(1)D2 = sizes(2)D3 = sizes(3)

This is what I have been attempting, though it does not work. I get the following error "Index was out of range. Must be non-negative and less than the size of the collection. 

Parameter name: index". I'm not sure if my list type is correct (Decimal), but no matter what I choose it fails. The (bH,bW,bL) are the actual block dimensions pulled from the .ipt file. Once sorted I want the values of each position (1),(2),(3) to be assigned to (D1),(D2),(D3) so I can place them in my title block in the correct order.

View 3 Replies View Related







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