DBmoveObjectToPlan

Top  Previous  Next

Object in another plan shift.

With this function an object can be shifted in another plan. If the original plan is given as a new plan again, the function is finished with an error message. The object is removed from the topical plan, so that no reference to this object continues in the topical plan. In the new plan the object becomes behind angehangen.

Parametre

obj (POBJECT) [IN]

Act on the deferring object.

flat (PPLANS) [IN]

Act on the aim plan.

Result

(int) [OUT]

If the object could be shifted in the new plan, becomes ERROR_OK zurückgeliefert, but a constant from error.h

Declaration

#include "database.h"

 

int DLLENTRY DBmoveObjectToPlan (

POBJECT obj,

PPLANS flat

);