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
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
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.
Can't find what you're looking for? Ask the community or share your knowledge.