![]() |
APIs, concepts, guides, and more
|
void Delete | ( | void | ) |
Delete the MotionController and all its objects. This includes all of the first-class RapidCode objects (Axis, MultiAxis, NetworkNode, IO, IOPoint, etc.). After a MotionController and all its objects have been deleted, you can use Create() again.
Every single first-class object pointer will now be pointing to free'd memory. You will get access violation exceptions (or worse). We suggest setting the MotionController pointer to null after this is called.