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

    BaseLink

    SDK Help
    0
    1
    204
    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

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

      On 19/04/2003 at 10:11, xxxxxxxx wrote:

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

      ---------
      Hi,
      I do some plugins and thei work. But in some plugs I do have dialog Box where is a Link in it ( for drap and drop )

      In the dialog when I drop a oject, mat or others I put it in the BaseLink :
      Material *MatToCopy = (Material* )msg.GetMaterialLink(BFM_ACTION_VALUE, GetActiveDocument());
          if(MatToCopy) {
           MatToCopyLink->SetLink(MatToCopy);
           AmaStatus("OK");
          }
      In the class is done that way
      class AmaToolsDialog : public GeDialog
      {
       private:
        ....  
        Filename MatFileToScan;
       
       ....  
        
        BaseLink *FigureLink;
        BaseLink *MatToCopyLink;
        BaseLink *MatMatToolsLink;
       .....
      };
       
      Ok up to there is ok it work

      Then I close the dialog because it takes room in the srceen ( exemple ok )
      When a Open the dialog again the BaseLink ( MatToCopyLink ) is there, name, data, the link it self, etc... But it dont show up in the dialog box it self 😞 I mean visualy
      Any Idea for this ?
      Same with the Filemane ( MatFileToScan )
      Thanks
      Niki

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