CopyPaintProperties: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
m (New page: == Operation == <br>The operation will copy a paint object's properties that has been registered in the paint object list and replicate them on to another paint object's properties....)
 
m (search for copy paint articles)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Operation  ==
== Operation  ==


<br>The operation will copy a paint object's properties&nbsp;that has been registered in the paint object list and replicate them on to another paint object's properties.  
<br>The operation will copy&nbsp;the graphical properties&nbsp;between paint objects.&nbsp; Graphical properties include position, colours, size, tip text, states, broadcasts options etc.  


<br>
<br>


== Example  ==
*Both paint objects must be of the same type (lines, RTF note, text etc.)  
 
*Both paint objects must be registered paint objects (to be able to reference the object in the routine operation)
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.&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).


<br>
<br>
Line 19: Line 12:
== Related Articles  ==
== Related Articles  ==


<dpl>titlematch=%Paint%|%paint%
<dpl>titlematch=%Copy%Paint%|%copy%paint%|%Copy%paint%
nottitlematch=%Image%
nottitlematch=%Image%
notnamespace=Category
notnamespace=Category

Latest revision as of 14:35, 2 March 2009

Operation


The operation will copy the graphical properties between paint objects.  Graphical properties include position, colours, size, tip text, states, broadcasts options etc.


  • Both paint objects must be of the same type (lines, RTF note, text etc.)
  • Both paint objects must be registered paint objects (to be able to reference the object in the routine operation)


Related Articles