List instance property info: name, value and isEditable?

Guest
Hi experts,

I am writing simple SKILL script that lists some properties information for certain instance.. The information needed is mainly:
- name of the property
- value (default or current)
- is it editable or not

Example of doing this to one instance, I have done:

inst=geGetSelectedSet()

foreach( ii car(inst~>prop)
printf("Name: %L" ii~>name )
printf("Value: %L" ii~>value )
printf("Is writable: %L" catch(t schReplaceProperty(inst ii~>name "") ) )
)

The last one does not look to be always working :(

Any hint on how to check if property is writable?

Thanks!
Mariam
 

Welcome to EDABoard.com

Sponsor

Back
Top