
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
i'm writing a program that uses threading. At the moment i'm running into a problem.
On my first thread i'm able to use the doc.EditFamily command. On my second thread it seems i may not use this command.
I keep getting this error in my script:
setValue on engaged ControlledLocalPointer before existence of TaskBlock: line 90 of Tasks
line 90 of my script reads:
famDoc = doc.EditFamily( f.Symbol.Family )
in addition when i try to use the LookupParameter method i get this error:
getElement is only allowed to run in multi-threaded scope
I've tried calling this command in different ways but every time it it seems to me i'm not allowed to edit a family in multiple threads.
How can i solve this?
Solved! Go to Solution.