Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Register
    • Login

    Snap Settings

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 307 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 03/11/2005 at 00:18, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hello ...

      How can I use snapping in my tool plugin ...
      When register the tool I coded like below ...

      RegisterToolPlugin(ID_MYTOOL,name,PLUGINFLAG_TOOL_SNAPSETTINGS,"MyTool.tif","MyTool ",gNew MyToolData);

      But there is no change ...
      I see nothing more ...
      What I hope was I will see the snapping dialog ( like in Move Tool ) ... But didn't ...

      Then I use DetectSnapping and test the document is in snapping mode ... But it's also not ...

      DetectSnapping *ds=DetectSnapping::Alloc();
      //The same with/without this one line below ds->Init(doc,bd,doc->GetActiveObject(),Vector(0,0,0),0,TRUE,TRUE,TRUE);
      if(ds->IsEnabled(doc))
      {
              MessageDialog("Snappable");
      }
      else
      {
           MessageDialog("Unsnappable");//This is always shown
      }

      So how can I use it ...?

      With all my respects
      ZawMinTun

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 06/11/2005 at 22:55, xxxxxxxx wrote:

        Any help ?

        Anyway ... thank you all ...

        ZawMinTun

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 08/11/2005 at 22:13, xxxxxxxx wrote:

          Hello ...

          I searched in the old threads and I found this ...
          The questioner is Kabe and he asked about "Snapping in tool plugins" and the answer is of Mikael ...
          The answer is ...
          "Sorry, there's no direct support for snapping in tool plugins. I've forwarded this as a suggestion to the developers."

          But date is Aug 2003 ...
          So let me ask "Is the answer still the same?"

          ZawMinTun

          1 Reply Last reply Reply Quote 0
          • First post
            Last post