CopyPaintObject: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
(New page: == Operation == <br>The operation will copy a paint object that has been registered in the paint object list and paste it on to a nominated panel.  An Inheritance can be set li...)
 
mNo edit summary
Line 1: Line 1:
== Operation  ==
== Operation  ==


<br>The operation will copy a paint object that has been registered in the paint object list and paste it on to a nominated panel.&nbsp; An Inheritance can be&nbsp;set linking the new paint object (will act as a child) to the original paint object (parent).
<br>The operation will copy a paint object that has been registered in the paint object list and paste it on to a nominated panel.&nbsp; An Inheritance can be&nbsp;set linking the new paint object (will act as a child) to the original paint object (parent).  


== Example ==


Using this routine operation with the following attributes:


''r.NewObjectIndex'' = '''CopyPaintObject('''l''._Paint Objects[OriginalObject],l._Model Objects[HostPortal],1''''')'''
== Example  ==


The Paint Object called '''OriginalObject''' (registered in the _Paint Objects list) is copied. The copy is placed on the '''HostPortal''' portal.&nbsp; The final flag (Non-Zero) indicates that the copied paint object will act as&nbsp;an inherited paint object.&nbsp;&nbsp;If this was a&nbsp;zero (0), the new paint object will&nbsp;NOT act as an 'inherited' object.
Using this routine operation with the following attributes:


The Routine Operation will automatically place the created paint object into the _Paint Objects list.&nbsp; The index of the new Paint Object will be returned (r.NewObjectIndex).
''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.&nbsp; The final flag (Non-Zero) indicates that the copied paint object will act as&nbsp;an inherited paint object.&nbsp;&nbsp;If this was a&nbsp;zero (0), the new paint object will&nbsp;NOT act as an 'inherited' object.
 
The Routine Operation will automatically place the created paint object into the _Paint Objects list.&nbsp; The index of the new Paint Object will be returned (r.NewObjectIndex).  
 
 
 
== Related Articles ==
 
<dpl>titlematch=%Tuple%|%tuple%
notnamespace=Category
notcategory=Routine
ordermethod=pagetouched
order=descending</dpl>

Revision as of 11:12, 24 February 2009

Operation


The operation will copy a paint object that has been registered in the paint object list and paste it on to a nominated panel.  An Inheritance can be set linking the new paint object (will act as a child) to the original paint object (parent).


Example

Using 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