Getting the names of container items
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/09/2012 at 03:57, xxxxxxxx wrote:
Can get the values of all the items in a container with the code:
bc=op.GetData()
for id,item in enumerate(bc) :
print id,itemAnd I can even get the type of data with item.GetType()
But I would like to get access to the names of the items. For instance, in the container of a Cube object, the item with ID 1105 (the second item in the container) is the "Fillet Radius". But that same ID (1105) can be used in other objects. So, how can I get the name of the items used in the dialogs?
Rui Batista
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/09/2012 at 04:02, xxxxxxxx wrote:
This would be possible using the C++ Description class. I don't think it is (easily) possible in Python, unless the description library is implemented.
-Nik
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/09/2012 at 04:33, xxxxxxxx wrote:
Thank you Niklas.
From what I see, python can do much more than coffee but it still has a long way to go, eitherRui Batista
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/09/2012 at 06:59, xxxxxxxx wrote:
it' bad ... userdata has attribute - bc[c4d.DESC_NAME]
does possible such schema:
by finding of procedural object-plugin and point to res by classc4d.plugins. GeResource
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/09/2012 at 07:02, xxxxxxxx wrote:
Unfortunately, that is not a general solution
Will the description library ever be implemented?