Inventor Addin using InventorWizard

Inventor Addin using InventorWizard

rthelkap
Enthusiast Enthusiast
486 Views
5 Replies
Message 1 of 6

Inventor Addin using InventorWizard

rthelkap
Enthusiast
Enthusiast
Hi,
We are trying to develop addin for Inventor using wizard.Is there any documentation available on the code generated by wizard to proceed further.(Theare are some classes and macros in the wizard generated code).Some Documentation on this code is needed to understand it. Any link....

Thanks
Rakesh
0 Likes
487 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
Unfortunately, there isn't documentation for the wizards. The
wizards/templates are provided to automate the steps of creating an addin
and are meant to be transparent enough so that you see the code as you would
if you were not using the wizard. But, the C++ wizard is a little bit of an
exception because it abstracts some of the code to make it easier for the
user. This is good if you only care about the result and not how things
work. But, if you need to understand the code, then there is an additional
layer of code inserted by the wizard that you need to decipher. Currently,
"\SDK\Include" folder has
AtlAddInServer.h file that contains the base class that implements the
ApplicationAddInServer interface methods and the wizard generates a class
that derives from this base class and implements hook methods (OnActivate
and OnDeactivate). You should be able to start using this wizard created
addin and implement your code in the OnActivate and OnDeactivate methods.
Most of the other stuff created by the wizard is COM/ATL code needed to
create the AddIn. The Inventor API Programming help section has a topic
about AddIns. The sample code is demonstrated in VB, but the general concept
applies to any language.

I hope this helps.

-Venkatesh Thiyagarajan.

wrote in message news:5789098@discussion.autodesk.com...
Hi,
We are trying to develop addin for Inventor using wizard.Is there any
documentation available on the code generated by wizard to proceed
further.(Theare are some classes and macros in the wizard generated
code).Some Documentation on this code is needed to understand it. Any
link....

Thanks
Rakesh
0 Likes
Message 3 of 6

Anonymous
Not applicable
Like most people here, I'd struggled badly at the beginning to figure out
how to create an add-in
I felt like working in the dark of something which is obviously simple if
there is some help document.
Thanks to Brian and Sanjay who have been great helpers here.
Why don't autodesk create some document or manual to explain step by step of
"How to"
CVA

--
www.CVAengineering.com

IV11 Pro. sp2 and IV2008 Pro. sp2
Vault 2008 sp1
Window XP Pro sp2
Pentium 3.2 Ghz, 3.0 GB of RAM
NVIDIA FX 3400 91.85
SpacePilot V 3.3.6
"Venkatesh Thiyagarajan (Autodesk)"
wrote in message news:5789695@discussion.autodesk.com...
Unfortunately, there isn't documentation for the wizards. The
wizards/templates are provided to automate the steps of creating an addin
and are meant to be transparent enough so that you see the code as you would
if you were not using the wizard. But, the C++ wizard is a little bit of an
exception because it abstracts some of the code to make it easier for the
user. This is good if you only care about the result and not how things
work. But, if you need to understand the code, then there is an additional
layer of code inserted by the wizard that you need to decipher. Currently,
"\SDK\Include" folder has
AtlAddInServer.h file that contains the base class that implements the
ApplicationAddInServer interface methods and the wizard generates a class
that derives from this base class and implements hook methods (OnActivate
and OnDeactivate). You should be able to start using this wizard created
addin and implement your code in the OnActivate and OnDeactivate methods.
Most of the other stuff created by the wizard is COM/ATL code needed to
create the AddIn. The Inventor API Programming help section has a topic
about AddIns. The sample code is demonstrated in VB, but the general concept
applies to any language.

I hope this helps.

-Venkatesh Thiyagarajan.

wrote in message news:5789098@discussion.autodesk.com...
Hi,
We are trying to develop addin for Inventor using wizard.Is there any
documentation available on the code generated by wizard to proceed
further.(Theare are some classes and macros in the wizard generated
code).Some Documentation on this code is needed to understand it. Any
link....

Thanks
Rakesh
0 Likes
Message 4 of 6

Anonymous
Not applicable
0 Likes
Message 5 of 6

Anonymous
Not applicable
0 Likes
Message 6 of 6

Anonymous
Not applicable

I am sure the structure and even the HWND constructs can be helpful but WIN10 Phones are the sliced bread that replaced the .COM automation with WCF constructs. The C++ Wizard is surer for code longevity than VBA which is likely to continue on the path of further deprecation to come.

0 Likes