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

    Xref

    Scheduled Pinned Locked Moved SDK Help
    7 Posts 0 Posters 455 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 25/11/2007 at 07:18, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.6+ 
      Platform:   Windows  ;   Mac OSX  ; 
      Language(s) :

      ---------
      Hello all,

      when we use the xref, the materials assigned to the xreferenced geometry is not in our document.

      How i can get the materials attached to a Xref?

      I'm on VP_INNER 🙂

      Thanks
      Renato

      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 27/11/2007 at 07:26, xxxxxxxx wrote:

        Hello All,

        ok, i got it .. with GetCacheParent on the CacheParent.

        In fact i detect the Xerf in this way:

        rayObject->link->GetCacheParent()->GetCacheParent()

        Cheers
        Renato

        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 18/12/2007 at 15:13, xxxxxxxx wrote:

          Hi,

          i see that the materials from xref objects are not in the active basedocument.. but.. if i get a material associated to the xref and call the xrefmat->GetDocument()... the document pointer is the same of the active document... so. To make a fast routine without loop on all RayObject.. get TextData->mp... how i can get these materials?

          Cheers
          Renato

          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 18/12/2007 at 16:00, xxxxxxxx wrote:

            In fact..

            I get the xref material

            doc = xrefmat->GetDocument(); // Doc is valid
            BaseMaterial *mat2 = doc->GetFirstMaterial(); // mat2 == NULL;

            Cheers
            Renato

            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 19/12/2007 at 09:20, xxxxxxxx wrote:

              😞

              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 19/12/2007 at 10:40, xxxxxxxx wrote:

                Sorry, I have no idea. I have to check this myself and see if I can get an answer from the developers.

                cheers,
                Matthias

                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 19/12/2007 at 11:32, xxxxxxxx wrote:

                  hello Matthias,

                  there must be a part where i can get all materials for each Xref because with any xref mat can be possible to loop trought to all mats in each xref.. but will be good to know how to find them without loop all rayobjects.

                  thanks
                  Renato

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