On 16/11/2015 at 11:34, xxxxxxxx wrote:
by searching the web I board find "how to hide user data" but not how to hide the origin data of an object.
in my exemple, is it possible to hide some data of Text Object with python?
see image below:
On 17/11/2015 at 01:48, xxxxxxxx wrote:
you cannot change the display of parameters of another object.
If you just want to present a simplified user interface you could add the needed parameters as userdata to your python tag. When these parameters are changed, you could catch that event and copy the values onto the host object.
On 20/11/2015 at 07:30, xxxxxxxx wrote:
Thanks Sebastian for your replay!
I wanted to divert a problem that I had met, I think that it is not possible to find a solution to solve this problem using python tag.
In fact, I sought a solution to change the default icon of a null object.
On 20/11/2015 at 11:52, xxxxxxxx wrote:
The icons are all in an external file so you can edit them with a paint program, so if it's only the default icon, you can do that...
(I am rarely doing that any more b/c the icons are changed with every version, being all in one single file... but sometimes it helps with a custom interface)
If you want to change the icon dynamically depending on some settings, then that won't work of course. Ultimately the object tells the C4D GUI which icon it wants to use, I don't think that you can control that from the outside.
However: A Null object doesn't exactly do a lot beyond the default behavior of a BaseObject. So, you may be able to program (in a simple way) a Python or C++ object that provides no geometry, essentially being a Null. This object could show any icon you want, even dynamically, and you might provide a way to change the icon from the outside by sending it self-defined messages, or by providing a method for direct access by other objects.
On 21/11/2015 at 04:57, xxxxxxxx wrote:
Aka Container Object
On 22/11/2015 at 17:15, xxxxxxxx wrote:
Container Object it is a great plugin, but in my case, as I want to market my product, I think that is not a good idea to use a external plugin.
The latter requires the installation of this plugin to be able to use my product.
Thanks for all your suggestions guys.
On 23/11/2015 at 07:13, xxxxxxxx wrote:
You won't get around making a plugin if you want a custom icon for your object, so the user will have
to install a plugin anyway. You can include the plugin in your product download as long as you link to the
source on the GitHub repository.
On 23/11/2015 at 09:43, xxxxxxxx wrote:
I had already thought about this idea but this plugin is not compatible with R12 & R13 and this presents problem for the user who uses a lower version to R14.
For this project i have abandoned the idea to custom icons. For my future projects I hope to use the SDK, I think is it the right choice.
On 23/11/2015 at 09:51, xxxxxxxx wrote:
It certainly is compatible, you only have to compile it with R12.
On 23/11/2015 at 10:09, xxxxxxxx wrote:
Oh Thank! Good news, I hope that the version compiled with R12 will be compatible with the higher version to R12 it will relieve me to include several version of Container Object in my product download.