Krasbit products

  • Increase font size
  • Default font size
  • Decrease font size
Home Products Krasbit Layouter Manual The objects - exchange tab

The objects - exchange tab

Print
User Rating:  [Number of Voters: 2 ]  /  PoorBest 
 
 objects - exchange tab
 Krasbit_Layouter_objects workspace

The macros for exchange shapes:

copy to clipboard copy to clipboard

macro: Layouter.copyToClipboard

This is extension of standard copy which groups selection of multiple objects together before copying to clipboard. In case of preparation for object exchanging with use of described below macros, you should always use single object or one group of objects as a source object, but not multiple selection.

exchange selected objects with object from clipboard exchange selected objects with object from clipboard

macro: Layouter.ExchangeSelected

With this macro you can swap one shape or selection of shapes with the shape which had been placed in the clipboard.

Usage:

  1. Copy to the clipboard the shape which shall be used as a source.
  2. Select the shape or multiple shapes which shall be swapped.
  3. Run macro.

exchange named exchange named objects with object from clipboard

macro: Layouter.ExchangeNamed

With this macro you can swap all occurrences of objects with a given name which is the same as the pattern name (provided within the input field - name). The replacement shape must be placed in the clipboard before. You can define the desired page range on which swapping shall be processed.

Usage:

  1. Copy to the clipboard the shape which shall be used as a source.
  2. Set the pattern name by providing it within the input field: name in the objects - exchange tab. To do the same task, you can also use Layouter.SetExchangeName setExchangeName macro macro.
  3. Set desired page range (options: current page, pages FROM - TO, all)
  4. Run macro
  5. Check the provided name, then press [ok].

exchangeNamedRecursive exchange named objects with object from clipboard (recursive)

macro: Layouter.ExchangeNamedRecursive

This macro works identically as the above one with the difference that the searching of objects with matching names is processed recursively. It means that it affects also all occurrences of matched objects within the subgroups.

setExchangeName set the selected object name as a pattern for multiple exchange

macro: Layouter.SetExchangeName

With this macro you can define the pattern name which is used by other objects-exchange macros. 

Usage:

  1. Select shape which has the name that you would use as the pattern name
  2. run this macro

The name of selected object will be copied and used as the pattern name.

 

The options for exchange shapes macros:

preserve exchanged object name

If this option is checked, then swapped object will preserve their previous name. Otherwise, the swapped object will be named same as the shape used for replacement.

Range

Here you define the range for exchange named objects with object from clipboard macros.

 

The macros for exchange properties:

showPropertiesToCopy properties to copy

macro: Layouter.showPropertiesToCopy

This macro opens the form in which you may define the exchange properties settings.

properties to copy form

 

You may choose (by ticking), which of properties of the shape you want to copy. These settings will be used by others exchange properties macros.

copyPropertiesOfSelected copy properties from selected object

macro: Layouter.copyPropertiesOfSelected

Use this macro to store properties of selected object(s) in order to paste it to the others objects via paste properties to selected objects or paste properties to named objects macros.

Usage:

  1. Select the shape which will be the source of properties
  2. Run macro.

pastePropertiesToSelected paste properties to selected objects

macro: Layouter.pastePropertiesToSelected

Use this macro to paste / restore properties on selected object(s). The properties must have been stored before with use of copy properties of selected objects macro.

Usage:

  1. Choose which of properties will be pasted / restored (by using properties to copy macro). If you omit this step, last settings will be used.
  2. Select the shape on which you want to paste / restore properties
  3. Run macro.

pastePropertiesToNamed paste properties to named objects

macro: Layouter.pastePropertiesToNamed

Use this macro to paste / restore properties on all of matched objects within defined range. The properties must have been stored before with use of copy properties of selected objects macro. You must also set the exchange name and range before use this macro. This macro use the same name based filter as previous object exchange macros.

Usage:

  1. Choose which of properties will be pasted / restored (by using properties to copy macro). If you omit this step, last settings will be used.
  2. Set the exchange name and range.
  3. Run macro.

Properties of all occurences of matched objects will be replaced.

pastePropertiesToNamed paste properties to named objects (recursive)

macro: Layouter.pastePropertiesToNamedRecursive
This macro works identically as the above one with the difference that the searching of objects with matching names is processed recursively. It means that it affects also all occurrences of matched objects within the subgroups.

Related example videos & blog article

Krasbit Layouter - macros for copy and paste properties between objects

Krasbit Layouter - macros for copy and paste properties between NAMED objects

Copy and Paste properties between objects - the simplest way!

Last Updated on Tuesday, 30 June 2009 12:26  

Favourite feature

Krasbit Layouter favourite feature?
 

Wish List

What do you expect from next release of Krasbit Layouter?