Go Back   AC3D Forums > Technical > AC3D Developers
Register FAQ Members List Calendar Today's Posts

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 14th December 2013, 02:04 PM   #2
jentron
Senior Member
Professional user
 
Join Date: Nov 2007
Posts: 139
Default Re: Plug-in features for 3-d print modeling

Is it possible to switch selection modes from C++? I don't see a prototype in the SDK header but see a few candidate functions in the binary:
  • set_new_select_mode_ui
  • set_new_select_mode
  • add_undoable_change_select_mode
  • set_select_mode_ui %s
  • set_select_mode

I assume I should do something like:
add_undoable_change_select_mode("My Plugin thing");
set_select_mode(SELECT_SURFACE);

But I don't know what the prototype should look like or which of the 4 sets is the 'best' to use?

Thanks,

Ron

(Extrude by normal switches to surface mode and leaves the new surfaces selected. I would like to emulate that. Also, in the watertightness plug-in I would like to switch to surface mode and leave any "bad" surfaces selected.)

Last edited by jentron; 14th December 2013 at 02:06 PM.
jentron is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 11:33 AM.


AC3D Forum
(C) Inivis Limited 2020