Update Xref filepath without user interaction
-
I'm looking to update filepath of an Xref via Python without user interaction requiring the "Yes" on a popup dialog.
This works:
xref.SetParameter( c4d.ID_CA_XREF_FILE, filepath, c4d.DESCFLAGS_SET_USERINTERACTION, )
But that basically means I will get this pop-up dialog:
However I want to do this without any user interaction in-between. How can I force the update without requiring the
c4d.DESCFLAGS_SET_USERINTERACTION
flag.How can I update the filepath without the pop-up dialog?
This has come up often before, see here:
- http://developers.maxon.net/forum//post/63608
- https://developers.maxon.net/forum/topic/14319/does-xref-or-xref-simple-are-now-accessible-with-python
- http://developers.maxon.net/forum//post/63554
But from back in 2020 through 2022 these remained lingering with "impossible". But hey, the future is bright and now. How do we do this? (From Python)
-
Hey BigRoy, sadly it's still impossible, I will start the discussion again, thanks for the reminder.
Cheers,
Maxime.