CopyPaintObjectFrom Planimate Knowledge BaseOperation
ExampleUsing this routine operation with the following attributes: r.NewObjectIndex = CopyPaintObject(l._Paint Objects[OriginalObject],l._Model Objects[HostPortal],1) The Paint Object called OriginalObject (registered in the _Paint Objects list) is copied. The copy is placed on the HostPortal portal. The final flag (Non-Zero) indicates that the copied paint object will act as an inherited paint object. If this was a zero (0), the new paint object will NOT act as an 'inherited' object. The Routine Operation will automatically place the created paint object into the _Paint Objects list. The index of the new Paint Object will be returned (r.NewObjectIndex).
Related Articles
|
