Xref



  • 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



  • 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



  • 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



  • 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



  • 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:

    :(



  • 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



  • 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


Log in to reply