Inventor Engineer-To-Order (Read-Only)
Welcome to Autodesk’s Inventor ETO Forums. Share your knowledge, ask questions, and explore popular Inventor ETO topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 6
MarkBrouwersIntent
314 Views, 5 Replies

IvAutoCADBlock

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

5 REPLIES 5
Message 2 of 6

Can we get the versions of ETO and AutoCAD that you are using?

Message 3 of 6

Jack,

The version I work with :

 

ETO

ScreenShot269.jpg

 

Autocad

Autocad 2013 (product version G.55.0.0)

 

Cheers,

 

Mark

Message 4 of 6

Anyone any ideas/thoughts ?

 

Cheers,

Mark

Message 5 of 6

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.

Message 6 of 6
MarkBrouwers
in reply to: JackGregory

Jack,

I've opened case 09441549 and attached a visual studio project. Hopes it helps.

 

Cheers,

Mark Brouwers

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report