Author Topic: Scripting Help  (Read 1015 times)

0 Members and 1 Guest are viewing this topic.

Offline MattKTopic starter

  • Active Member
  • **
  • Posts: 25
  • Country: us
  • Gender: Male
Scripting Help
« on: Jan 03, 2022, 17:55:35 PM »
Can anyone help me de-bug this script please? It seems like if I run it on more than a handful of parts, it won't update each part so they develop correctly. If I run it more than once on the same items, or run it on only one or two items, then it seems to work correctly...???

I am VERY new to scripting and am just starting to try and figure out the language. TIA

Offline Darren Young

  • Premier Member
  • *****
  • Posts: 2081
  • Country: us
  • Gender: Male
    • BIM There Done That.
Re: Scripting Help
« Reply #1 on: Jan 03, 2022, 18:49:30 PM »
Try moving the Item update to the end of the code. You're updating the items before you actually make the changes.

Offline MattKTopic starter

  • Active Member
  • **
  • Posts: 25
  • Country: us
  • Gender: Male
Re: Scripting Help
« Reply #2 on: Jan 04, 2022, 13:19:43 PM »
Try moving the Item update to the end of the code.

Seems to have been the "trick"  :-X

Like I said, I'm new at this!  ;D