Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello.
How can I check if a selection of any type is defined in my document? I need it to show or not a graph line.
I've tried working with GetCurrentSelections() but I can't handle the '-' result. It doesn't seems to be a null(), neither a '-' of course.
Thank you!
Hello Luca,
If your document has no selections at all,
otherwise, length of current selections will vary, and will be always greater than 0. Hope that helps!Len(GetCurrentSelections()) = 0
Hello Luca,
If your document has no selections at all,
otherwise, length of current selections will vary, and will be always greater than 0. Hope that helps!Len(GetCurrentSelections()) = 0
Thank you Miguel!
Solution was just a step ahead, as usual... I was looking for a length() function and of course thre's one: len()! Cheers!