Forum Replies Created

  • Cameron Clark

    August 13, 2020 at 4:29 pm in reply to: Checking text field for line breaks?

    Worked like a charm! Thank you so much!

    So, the `split` method splits the “txt” string into parts where ever there is a `\r`, and feeds the resulting parts into an array called “newLines.” And then you subtract 1 from the `.length` of the array (which is the number of lines), giving you the number of line breaks.

    Just so I make sure I understand what’s going on here (teach a man to fish and all that), do I have that right?

  • HaHA!

    Thanks so much! Apparently if you have the the Atom Array:Instance parented to the parent, it breaks the atom array. Just have to keep them separate.

    Problem solved 🙂

  • Thanks for the response!

    Unfortunately an instance isn’t helping me here. While it DOES create an exact copy, it doesn’t seem that can then use that copy how I want to. I would like the child to be used as the reference object for an atom array. The file structure I’d like would look like this:

    Is there a way to do something like this? If the child is an instance, it doesn’t seem to work as an atom array 🙁

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy