THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/03/2012 at 18:18, xxxxxxxx wrote:
i hadn't much time the last week, but i am still exploring python :) i still have some questions
regarding descriptions (and basecontainers). i want to hide and show a description element
depending on the state of other elements (hide element A if the boolean element B is false
for example). after some google research i found some threads here and on cgtalk regarding
this topic, but nevertheless most questions remain unanswered.
> 1.is it possible to access the description element flags (DESC_HIDE for example) with
> python ? one older thread here on plugin cafe states that it is not. is this still true ?
> 2. because here nikklas shows how to set the DESC_MAX flag for an userdata element.
> aren't userdata and descriptions basicly the same ?
> 3. i am still not sure what an objects basecontainer contains returned by c4d.BaseList2D.
> _GetData(). _is it just a list of values or is it a list of base containers (containing values and
> the description element flags)? when i try to print the content of my plugins basecontainer
> with an recursion to the consle c4ds recursion overflow prevention thing stops me after a
> while, but when i treat the basecontainer directly like a basecontainer of basecontainers
> the console says element xyz is a vector(or whatever) not a list .
> 4. i cannot find anything explaining c4d.descID and c4d.descLevel. the desciption in the sdk
> remains somehow mysterious for me about thier usage.
i could post some of my code, but i think this won't help much since i do not understand some
very basic things regarding containers and descriptions. i do not expect you to do the work for
me , but some answers would be great. sorry for this mess :D.