An question about SystemExpressions

For questions about using Classic.

Post » Fri Sep 24, 2010 8:56 am

Knights:
SystemExpressions puzzled me , How to use SystemExpressions in python scripts?
For Example:
Help files tells me that : LayerName(number) Returns name of the given layer number.
I think that ,LayerName is a function, it has a argument "number".
but when a write the script, I find that when i writer" System.LayerName(1)", error happend,
"'NoneType' object is not call able".
Who can tell me the right way to use "LayerName" ?
thanks.
B
1
G
2
Posts: 1
Reputation: 627

Post » Fri Sep 24, 2010 5:50 pm

Try "System.layername(1)", it's lowercase.
B
79
S
24
G
54
Posts: 4,755
Reputation: 40,773


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests