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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Scenesaverdata with 2 extension [CLOSED]

    SDK Help
    0
    2
    234
    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
      Helper
      last edited by

      On 22/07/2015 at 01:12, xxxxxxxx wrote:

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

      ---------
      Hello.

      I have noticed a problem while saving a file and i was wondering if this behavior is intended.

      return RegisterSceneSaverPlugin(
      ID_MY_PLUGIN_EXPORT,
      GeLoadString(ID_MY_PLUGIN_EXPORT_MENU_OPTION),
      PLUGINFLAG_SCENEFILTER_DIALOGCONTROL,
      Alloc,
      "Any Description",
      "any1.any2.ext"
      );

      When i click this option in export menu, a dialog opens with the defined suffix any1.any2.ext.
      I enter the name temporary.any1.any2.ext and then the save method is called.

      Save(BaseSceneSaver* node, const Filename& name, BaseDocument* doc, SCENEFILTER filterflags)

      The second parameter has value  temporary.any1.any2 .any1.any2.ext.
      Is this intended ? Do i have to use only 1 extension as suffix ?

      Thank you for your time.

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

        On 22/07/2015 at 02:59, xxxxxxxx wrote:

        Hi,
        I don't think, it's a good idea to have a suffix with several periods. At least on Windows it can lead to all sorts of strange effects with various applications. Windows itself will only regard the part after the last period as suffix.
        So, yes, it's kind of intended.

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