Creating a modifyable shape

B

Basqus

Hi

I want to create a template for adding input and output module to automation
design schematics. What I do not understand how to do is to have a custom
property for i.e. number of outputs that automatically adds the specified
number of outputs to the shape. Each output sholud have a text field and a
simple line to indicate the output.

Any good ideas to how I can do this?

One example of a shape that works this way; the Logic gate on the Analog and
Digital logic stencil.
 
P

Paul Herber

Hi

I want to create a template for adding input and output module to automation
design schematics. What I do not understand how to do is to have a custom
property for i.e. number of outputs that automatically adds the specified
number of outputs to the shape. Each output sholud have a text field and a
simple line to indicate the output.

Any good ideas to how I can do this?

One example of a shape that works this way; the Logic gate on the Analog and
Digital logic stencil.

Put that shape on a page and explore it with the document explorer (menu View -> Document
Explorer)
Not only is it a grouped shape (mainly to provide shapes to contain multiple text items)
but one of these shapes has multiple geometry sections to supply the input and output
lines. Each geometry section is enabled/disabled depending on the shape's shape data items
vix. =IF(Sheet.1!Prop.Input>=5,0,1)
enables this geometry section if the value of the number of inputs is > 5.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top