Hi,
I'm trying to get the design IvAutoCadBlock to work the way I want. I want to use the parameter librarydocument to be able to change my autocadsymbol outside Inventor. So I created in Autocad a drawing (named drawing1) with a block 'circle' and gave that block an attribute named ArticleNumber.
In ETO I created a childrule :
Child Autocad_Symbolen As :IvAutoCADBlock libraryDocument = "D:\WorkingFolder\drawing1.dwg" sheet = Parent definition = "circle"
symbolorigin=point(0,0,0) PromptTextValues = {{"ArticleNumber","a specific value"}} End Child
Then I get in ETO following error :
Could not import AutoCAD block definitions from 'circle': Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL)) Inventor errors: Invalid input for Request.
But when I import the Autocadblock in my standard drawing template, the code works execpt for the attributes. I can't manage to give the attribute Articlenumber a specific value.
What am I doing wrong ? Someone a codesample ?
Cheers,
Mark
Jack,
The version I work with :
ETO
Autocad
Autocad 2013 (product version G.55.0.0)
Cheers,
Mark
From the information given, we can't determine what is going wrong. Could you file this problem with support at A.D.N? If we can replicate it here, we can find out what the mystery error is.
Jack,
I've opened case 09441549 and attached a visual studio project. Hopes it helps.
Cheers,
Mark Brouwers