Inventor Engineer-to-Order

Reply
New Member
AmbCo
Posts: 1
Registered: ‎09-27-2012
Message 1 of 2 (136 Views)

Call a dll with the CFunc function

136 Views, 1 Replies
09-27-2012 01:39 AM

Hello,

 

After trying to use the ByRef method and found that it is not fully implemented in Intent actually, I had a look at the CFunc function to call a dll with the code.

This dll created in VB.net works fine, but it seems that the CFunc function is not recognized by Intent ( "CFunc : No such function" ).

The Dll has been put in the bin directory of Intent and is found.

 

Here is my Intent code created as a function :

 

Function Get_Inertia() As List
 Return CFunc("Inertia", "InertiaDll")
End Function

 

> InertiaDll is the name of the called Dll

> Inertia is the name of the Public Function in the Dll

 

Has someone ever used this CFunc function and could help me with it please ?

 

Board Manager
Jon.Balgley
Posts: 243
Registered: ‎08-23-2006
Message 2 of 2 (128 Views)

Re: Call a dll with the CFunc function

09-27-2012 09:16 AM in reply to: AmbCo

You don't need the "return".  Even though "CFunc" looks like a regular function, it is a special thing.

 

Be sure to come to the "ETO Potlatch" on October 11, where we will discuss these issues.



Jon Balgley
Autodesk Configurator 360 / Inventor ETO team
Autodesk, Inc.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube