Import Acad attributed block into Inventor

Import Acad attributed block into Inventor

Anonymous
Not applicable
569 Views
2 Replies
Message 1 of 3

Import Acad attributed block into Inventor

Anonymous
Not applicable

To All,

 

I started the 30 Day eval for Inventor 2014.

 

WE need to import our attributed blocks from Autocad 2012 into Inventor.

We need to keep the Metadata., we take this data and export the information into a Excel spreadsheet.

Also, we place a text tag next to the block that will appear of the drawing for assembly to use for labels.

 

I have used Inventor and Solidworks for a while, but never worried about attributes.

 

Thanks,

SSECPerDiem856NJ

 

0 Likes
570 Views
2 Replies
Replies (2)
Message 2 of 3

xiaodong_liang
Autodesk Support
Autodesk Support

Hi,

 

Could you clarify the scenario? Inventor API supports adding AutoCAD block with attributes. The following is a code demo from API help:

 

Public Sub InsertAutoCADBlockOnSheet()
    ' Set a reference to the drawing document.
    ' This assumes a drawing document is active.
    Dim oDrawDoc As DrawingDocument
    Set oDrawDoc = ThisApplication.ActiveDocument

    ' Obtain a reference to the desired AutoCAD block definition.
    Dim oBlockDef As AutoCADBlockDefinition
    Set oBlockDef = oDrawDoc.AutoCADBlockDefinitions.Item("Filled-1")

    Dim oSheet As Sheet
    Set oSheet = oDrawDoc.ActiveSheet

    ' If the definition contains prompted string inputs...
    'Dim sPromptStrings(1) As String
    'sPromptStrings(0) = "String 1"
    'sPromptStrings(1) = "String 2"

    Dim oTG As TransientGeometry
    Set oTG = ThisApplication.TransientGeometry

    ' Add an instance of the block definition to the sheet.
    ' Rotate the instance by 45 degrees and scale by .75 when adding.
    ' The symbol will be inserted at (10,10) on the sheet.
    Dim oAutoCADBlock As AutoCADBlock
    Set oAutoCADBlock = oSheet.AutoCADBlocks.Add(oBlockDef, oTG.CreatePoint2d(10, 10), (3.14159 / 4), 0.75)
End Sub

 

 

 

0 Likes
Message 3 of 3

Anonymous
Not applicable
  1. Ability to import AutoCAD attributed block and extract data for parts and assemblies.
  2. Ability to take label data to make labels.
  3. Ability to add data to parts or assemblies. i.e. Port/Bit, Tank No, etc.
  4. Export 3D CAD – Solidworks or Inventor – BOMs to Excel. [both have this ability now]

What I can do is place text on views on the IDW, what I cannot do is lock them to the view without a leader attached.

It would be nice to make the leader invisible. I can turn of the arrow head but not the line.

 

The type of drawing I am discussing is a P&ID package drawing or the plumbing assembly to process type equipment.

 

 

0 Likes