Iemitating Extrusion Feature

Iemitating Extrusion Feature

NemKumar
Enthusiast Enthusiast
330 Views
1 Reply
Message 1 of 2

Iemitating Extrusion Feature

NemKumar
Enthusiast
Enthusiast

Hi,

 

I have 3D input device, which can be used as alernative to mouse. With this device I can get X,Y,Z co-ordinate in space. 

I want to simulate the Extrusion feature on model. For this I am using Definition.SetDistanceExten() API . But it is way too slow. Is there any alternative API by which I can Simulate Extrusion, where the response is better ? 

 

Any Idea about how can I invoke Extrusion API from CommandManagaer ? 

0 Likes
Accepted solutions (1)
331 Views
1 Reply
Reply (1)
Message 2 of 2

wayne.brill
Collaborator
Collaborator
Accepted solution

Hi,

 

Have you considered using ClientGraphics for this? You can use client graphics to give the user a preview and then create or modify the feature when the user is ok with it.  There is a lot of discussion and samples in the API help file. (This one for example - ClientGraphics3DPrimitives)

 

These Blog posts could be of interest. (There are others as well - search clentGraphics)
http://modthemachine.typepad.com/my_weblog/2012/08/discussion-on-client-graphics.html

http://modthemachine.typepad.com/my_weblog/2012/08/discussion-on-client-graphics-segment-2.html

http://modthemachine.typepad.com/my_weblog/2012/08/discussion-on-client-graphics-segment-3.html

http://modthemachine.typepad.com/my_weblog/2012/08/discussion-on-client-graphics-segment-4.html

 

 

You can run Inventor commands from the API. See this DevBlog post:

http://adndevblog.typepad.com/manufacturing/2012/05/how-to-find-internal-command-names.html

 

 

 

 

Thanks,

Wayne



Wayne Brill
Developer Technical Services
Autodesk Developer Network

0 Likes