AutoCad :: Extracting BOM From The Attributes

Dec 7, 2013

On an HND assignment there is a drawing of a Villa in plan view with outer walls, inner walls and then some attributed blocks created for furniture. Once drawn the second task is as follows.

Task 2

Write a report describing the methods you used, with a layout plan inserted into the document and to include a bill of materials extracted from the attribute files.

How you would go about extracting the BOM from the attributes?

View 9 Replies


ADVERTISEMENT

AutoCAD VB :: Extracting Certain Block Attributes

Aug 21, 2013

I'm trying to loop through all the blocks on a drawing and if the block contains a group of tagstrings (B,C,D and H) I want to then extract the textstring from all 4 attributes and place them in a ListView. I got it to work but it is not consistant. Sometimes it doesnt get all of the attributes. Basically just want to grab all of the blocks that the 4 attribute tagstrings (B,C,D and H) and extract their textstrings to a ListView. Here is the code I have so far.

For Each objEntity In objModelSpace
With objEntity
If StrComp(.EntityName, "AcDbBlockReference", 1) = 0 Then
If .HasAttributes Then
TableData = .GetAttributes

[Code] .........

View 6 Replies View Related

AutoCAD VB :: Extracting Attributes Into Text File With A Script

Sep 12, 2013

I have a requirement to extract metadata from AutoCAD files with a script. This metadata is the attributes that appear in the files Title Block in the corner. I have come up with some code that I believe can do this, but I cannot run it, since I've been developing in Visual Studio using .NET, and it appears that that .NET API can only be used to build plugins for AutoCAD.

Do I have to use VBA to access the COM? How do I even get started with VBA/COM API? It took me forever to actually find a listing for the .NET Object Model - I don't want to search for that long again to find the COM API, especially if I'm going about this in the wrong way again.

Here is the code I've written to extract the Attributes, but it's probably very wrong as well, since I have not had the opportunity to test it:

class Program {
static void Main(string[] args) {
try { using (Database db = new Database()) {

[Code] .......

View 7 Replies View Related

AutoCAD LT :: Assigning Attributes To Blocks And Extracting List

Feb 15, 2012

I have a drawing with a bunch of blocks. the blocks repeat themselves, but I need to define different attributes to each one of them and then being able to extraxt a list that I can read in excel.

View 7 Replies View Related

AutoCAD Map 3D :: Adding Attributes To Line - So Attributes Can Be Viewed In GIS (ArcMap)

Nov 17, 2011

I'm working on setting up a process where I can bring AutoCAD drawings into GIS.  I need to assign an attribute to a Polyline or Line so that the attributes can be viewed in GIS. I've noticed there is a way to convert AutoCAD to a SHP or SDP however I'm not familiar with this process.

View 1 Replies View Related

AutoCad 2D :: Rotate Block With Attributes - Messed Attributes

Jan 23, 2012

From the attached image you can see what I'm talking about.

(left=original, middle=ROTATE, right=PROPERTIES)

When I rotate blocks using ROTATE command everything is fine, but when I rotate blocks using PROPERTIES my attributes get messed.

I need to rotate several blocks at once with PROPERTIES, because I don't have time to rotate each one separately.

The same thing happens when scaling blocks, but this was resolved using the command BSCALE in the command line.

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 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 2010 :: Extracting More Than 256 Columns

Jun 10, 2013

How in AutoCAD 2012 to be able to extract more than 256 columns worth of attributes per block? 

It keeps giving me an error saying that excel won't allow it... excel has had more columns than 256 since 2007!?!?! 

Or is there a third party extraction tool that I can use that extracts information in the same way the AutoCAD one does? 

View 1 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 :: Extracting Xyz Coordinates From 3D Polylines?

Apr 12, 2012

I want to extract xyz coordinates from 3d polylines using AutoCAd LT 2012 into excel, as i need the data in a tabled format, I use the polyline coordinates to create cross sections of river beds which I then use to model river flows using HEC-RAS software.

View 2 Replies View Related

AutoCad :: Extracting Length / Angle

Apr 7, 2011

I have the base point X and the secondary points from lets say 1 to 20 (total of 21 points)

I draw lines from X to every one of the secondary point (from point X to point 1; from point X to point 2; from point X to point 3; ........from point X to point 20)

If you click proprieties on one of the lines, you will see that it has a Length and an Angle. I need to manually copy the length and the angle of every line, and paste it in a table on Excel/Word.

Problem: I have about 100 points a day of this kind, so manually copying their length & angle is a real pain. Is there any way faster to do this. A specific command in AutoCad (2006).

View 9 Replies View Related

AutoCad :: Extracting Dynamic Blocks?

Apr 3, 2013

regarding extracting dynamic blocks.

Is there any way I can tell AC to only extract what my Visibility States are showing? IE if I have 2 Vis states within a block, 1 for a 2 seater couch and 1 for a 3 seater, can I configure AC to extract whichever Vis State is active? Currently it simply extracts the block name.

View 2 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 Inventor :: Extracting 2D Drawing Views

Aug 10, 2012

I want to extract 2D drawing view of the attached model.  I tried but could not succeed because most of the sketches are on the angled user defined work planes.

See the following links, I did the same for some of my other models:-

[URL] ...

[URL ...

How can I show the modelling process of this model with 2D drawings? 

View 1 Replies View Related

AutoCAD Civil 3D :: Extracting XYZ From Section View

Jul 27, 2013

is it possible to export the position and elevation of points plotted in a section view to a csv or txt file?  I have a surface with section profiles cut every 100 feet or so, and would like an external copy of just the data used to plot the section views to use for another analysis.  

View 9 Replies View Related

AutoCAD Civil 3D :: Extracting Points From A Surface

May 31, 2013

I built my surface by importing points directly, ie, not through the ribbon, so i have no points listed in prospector.  i have been editing the points (mostly deleting errant survey points) and would like to export the final data set.  The only step i found, was to show points in surface style, and then Extract Objects (of which i selected Points).

This seems to have no placed all the points into my DWG, but HOW do I export this files into a single text file??

View 9 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 Civil 3D :: Extracting Elevation From Shape File?

Mar 21, 2012

i have lidar contour file that is a shape file, when i import this file using map with data connect i is imported with the correct elevation but is not useable for presentation only, when i import it with the map import command it does not retain the elevation on the polyline that it imports.

View 5 Replies View Related

AutoCAD Inventor :: Extracting Assembly Properties Into Part

Feb 2, 2012

Is it possible extract the quantity property from an assembly and use that to populate a title block item in a part drawing file?

I want to be able to print the quantity required for the assembly right on the part drawing that is released to the shop.

View 1 Replies View Related

AutoCAD Inventor :: Extracting Text From Notepad File?

Jan 3, 2012

I'm in the process of creating an external iLogic rule and would like to extract part of the contents of .notepad text file to use in my rule as a string. Is this possible?

View 1 Replies View Related

AutoCAD Inventor :: Extracting IDW Dimensions To Inspection Sheet?

Jan 18, 2005

I would like to create an component inspection sheet as a second sheet on an Inventor IDW file. This is a sheet that lists all the dimensions on an engineering drawing.

Is there any way I can automatically extract / list dimensions from the enginnering drawing sheet and display them on the inspection sheet.

View 2 Replies View Related

AutoCAD 2010 :: Extracting Geometry For Laser Cutting

Mar 6, 2012

Currently, I am using Inventor to produce inventor DWG drawings for our supplies to read using autocad and trueview etc. One of our suppliers is a laser cutting firm and they need us to produce a seperate DXF file from our inventor drawings (for the flat patterns). As this has to be done manualy and is potentially error prone (as drawings can be automaticallyt updated where as DXF's requre a seperate 'save as' we had hoped to be able to just send the Inventor DWG for them to extract the geometry of the blank using their copy of AutoCad. I noticed that when opening an inventor DWG in autocad, the 'model' contains no geometry and it is placed on a seperate tab called sheet 1 (or whatever the sheet was called in inventor). 

Is there any way that this data can be extracted from the DWG so that they may manipulate the geometry?

I have attached an Inventor DWG for reference. 

View 7 Replies View Related

AutoCAD LT :: Extracting Info From Attributed Block Into Spreadsheet

Dec 29, 2011

what is the easiest wqy to extract information  from an attrbuted block into a spreadsheet (excel)?

View 1 Replies View Related

AutoCAD Inventor :: Extracting Sketch Curves Points

Dec 6, 2013

Given a sketch, I wish to get its profile paths (outer, plus inners), for each path, I wish to get their individual curves (line, arc, splines, any type). For lines, I need start and end points, for others, some sample points would do.

For "T" like thin profile shape, following code got me, 1 Profile Path, which had 8 Lines (thus 8 points) and it worked fine. 

For Each path As Inventor.ProfilePath In extFeature.Profile

If Not path Is Nothing And path.Count > 0 Then
For Each entity As Inventor.ProfileEntity In path
If entity.CurveType = Curve2dTypeEnum.kLineSegmentCurve2d Then
Dim oSkE As SketchEntity = entity.SketchEntity
Dim oLine As SketchLine = CType(oSkE, SketchLine)
Dim startpt As Inventor.Point2d = oLine.StartSketchPoint.Geometry
Dim endpt As Inventor.Point2d = oLine.EndSketchPoint.Geometry

But same logic does not work (crashes at Casting I guess) for "S" shape as below:

It gives path.Count == 0.

View 9 Replies View Related

AutoCad 2D :: Extracting Multiple 3D Lengths For Lines In 2007

Apr 11, 2011

I'm trying to extract the 3d length of multiple lines into either a CSV, SSV or directly into a table, I have done a fair amount of research but all of the solutions seem to be for later versions of CAD than the one i'm currently using, I think 2008 is the first to have embedded data extraction for objects as well as attributes?

View 6 Replies View Related

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 View Related

AutoCAD 2010 :: Extracting Metadata From Smart Title Blocks

Oct 17, 2012

I need to load a couple hundred drawings to Vault. Most, if not all, of these AutoCAD drawings use the 'smart title block' and I was wondering if there was a way to extract all the data from the title blocks into an excel .csv file to then be imported into Vault saving me SOOOO much time and work. 

View 1 Replies View Related

AutoCAD Civil 3D :: Extracting Feature Line From Grading Or Corridor?

Feb 22, 2013

I have grading style set up to create a cut/fill boundary and the same thing for my corridor. I made surfaces from my grading and corridor and no longer need them. I need to keep the cut/fill lines for my design. How can I extract these lines from these objects? I tried keeping the grading/corridor on one layer and lines I wish to use on another so I can turn pieces of the grading off. However, it will not print the cut/fill boundary without printing all the feature lines created from a grading.

View 1 Replies View Related

AutoCAD Inventor :: Extracting Sheet Metal Properties In IPart Members

Jun 22, 2013

I have many I-parts that have many members. All these members differ in size, sheet metal style and material. 

That's a nice case for an I-part right? We can manage the members in a table, and we can create flat patterns & drawings that go with these members, so when we get an order for a machine, we don't have to touch any of these components. 

The things is, that I want to show the length & width of the flat pattern, the sheet metal style, and the K-factor of the I-parts members in the parts lists of the assemblies they sit in. 

I have 4 custom properties for this. Flat_Pattern_Length; Flat_Pattern_Width; Sheet_Metal_Style; Sheet_Metal_k_Factor

These properties show up on the parts lists. I use Inventor 2012 (with Solidworks Enterprise PDM)

I have tried to make a rule in the factory that fills these properties. I fire the rule on "save document". My train of thought: Every time Inventor saves a member, it applies the factory rule, and fills the member properties.

Results are extremely unstable. I have seen all members generated with correct properties, I have also seen that literally nothing happens on the members. There are some brute force workarounds (edit member scope, run rule) but this is not a sustainable solution. 

I cannot imagine it would be so hard to get the sheet metal information available as properties for these files! The use of I-parts is a fixed constraint, and the use of those property names is an almost fixed constraint. 

View 4 Replies View Related







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