THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/04/2011 at 15:05, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R12
Platform: Windows ;
Language(s) : C++ ;
---------
Hey Guys,
How can I use Snapping for my Toolplugin? There is no where an example.
How to use that function:
void Init(BaseDocument* t_doc, BaseDraw* t_clip, BaseObject* t_aop, const Vector& initial, LONG initial_pid, Bool selftest, Bool axismode, Bool allow_cplane)
point position and point index of what - the op?
When I check IsEnabled(doc) I got true. But when I use SnapTo(v1,v2) Cinema 4D crashes.