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")
> 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 ?
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.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!
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.