Defining the Drawing Method
The step Define Drawing Method will allow you to set-up a 2D drawing associated to the Configuration Process. When running the Configuration Process, this 2D drawing will be generated on-the-fly.
Understanding drawings
CPQ supports the generation of vector-based drawings, using SVG. These drawings are convenient, because they are natively displayable in the latest browsers. Also, they allow generating very precise representations.
Definition: A Drawing Method represents a graphical view for the Configuration Process. A Drawing Method gathers all data necessary to calculate and to generate the drawing associated to a sales breakdown line.
In order to set up a drawing method in CPQ, you need to understand the notion of a canvas.
Definition: A Canvas represents a virtual whiteboard. It basically represents the surface onto which a drawing will be drawn.
The canvas used by CPQ derives from the SVG canvas, and starts at the top/left corner. This means that the following coordinate system is used:
For each sales breakdown line which has been associated to the drawing method, a Drawing Matrix will describe how the drawing calculation and generation has to be done.
Definition: A Drawing Matrix represents how the resulting drawing for a given sales > breakdown line will be calculated. It represents an empty canvas onto which different drawing components will be drawn in a given order. These components can be:
- Resulting drawings issued from child sales breakdown lines
- Basic Drawing objects, drawn using the SVG editor available in the Designer
- Drawing Grids, decision tables that issue a basic Drawing object based on certain choices
The following figure shows a sample drawing structure for a door kit:
This figure shows that the root sales breakdown line drawing matrix representing the door kit is composed of 2 drawings matrices, which are the door itself as well as the surrounding frame. These 2 drawings are generated on individual sales breakdown lines themselves. Each of these is composed of one or more business drawings, which are basically SVG-based drawings which are parameterized in the Designer.
More generally, this structure is represented by the following figure:
How to activate drawings
In order to set up a drawing, proceed as follows:
How-To:
- Define the different views that need to be provided.
- E.g. Front view, Rear view, etc.
- [On the dashboard]
- Enter the process “Administer workspaces”
- Go to step “Parameters”
- Add a “drawing method” parameter and give it a name and description
- [On the dashboard]
- Enter the Configuration Process again
- Go to step “Sales & Pricing / Sales Method”
- [In the menu toolbar]
- Add the drawing method to the sales breakdown structure
- Activate the drawing method for each line that represents a drawingWarning: If you have configured a drawing method and associated it with a Sales breakdown line, this link can not be undone without deleting the content of the drawing method – including all the BRC within the drawing method.
If you try to uncheck the drawing method form the Sales breakdown line and to save this change, an information message will warn you about the risk of deletion and ask you to confirm your action:
Clicking on ‘Yes’ will delete all the drawing method and its content.
How to create a business drawing
In order to calculate and generate drawings, the first step is to establish business drawings that will be merged later on. These business drawings are the basic building bricks of each drawing set-up.
Definition: A Business Drawing is an SVG-file for which some parameters have been defined. Each of these parameters can either be defined by a fixed value or by a BRC when using the Business Drawing inside a Drawing Matrix.
In order to create a business drawing, proceed as follows:
How-To:
- [On the dashboard]
- Enter the Configuration Process of interest
- Go to step “Drawing / Drawing Editor”
- [In the menu toolbar]
- Create a new Business Drawing by clicking on the New button and providing the name and description
- If you want to import an existing SVG-file in the Business Drawing, tick the associated checkbox and browse to the SVG-file
- Hit “OK”
- The Business Drawing is created, and a specific SVG-editor is shown
Work with the SVG-editor
When creating an existing Business Drawing or when opening an existing one, the following editor will be shown:
This SVG-editor allows creating SVG-shapes (vector-based drawing shapes) and modifying some attributes for these shapes. Also, it offers various tools that are described in the table below:
| FUNCTIONS OFFERED BY THE SVG-EDITOR | |
|---|---|
| Menu | |
| New image | Will abandon the current SVG-drawing and create a new canvas. |
| Open image | Will abandon the current SVG-drawing and open an existing one. |
| Import SVG | Will keep the current SVG-drawing and import an existing one as a grouped object inside it. |
| Export as | PNG Will export the current SVG-drawing as PNG. |
| Document Properties | Enables changing the default canvas dimensions. |
| Edit Source | Edit the SVG-drawing using a text-based source editor. This function can be handy to use advanced SVG-features, like patterns, which are not handled by the graphical editor. |
| Wireframe Mode | Shows all objects by making them transparent and by setting the stroke width to 1. This enables seeing all objects and aligning them more easily. |
| Undo | Undo the last action. |
| Redo | Redo the last action. |
| Layers | |
| New Layer | Adds a new layer on top of the previous ones. Each added layer is automatically the top-level layer. |
| FUNCTIONS OFFERED BY THE SVG-EDITOR | |
|---|---|
| Delete Layer | Deletes the layer, along with all objects inside it. |
| Rename Layer | Renames the layer. |
| Move Layer Up | Reorganizes the layers, by moving the selected layer up. |
| Move Layer Down | Reorganizes the layers, by moving the selected layer down. |
| Move elements to | Moves the selected objects to another layer. |
| Drawing Tools | |
| Select Tool | Selects an object by clicking on it. Selects multiple objects by clicking in the canvas and dragging. Selects specific multiple objects by clicking while holding the shift key. |
| Pencil Tool | Allows for free hand drawing. The resulting drawing will be an SVG-path. |
| Line Tool | Creates a straight line. The resulting drawing will be an SVG-line. |
| Rectangle /Square | Creates a rectangle, or a square. The resulting drawing will be an SVG-rectangle. |
| Ellipse /Circle | Creates an ellipse, or a circle. The resulting drawing will be an SVG-ellipse. |
| Path Tool | Creates a polyline or a polygon. The resulting drawing will be an open or a closed SVG-path. |
| Text Tool | Creates an SVG-text object. At this point in time, the text object needs to be completed by using the "Edit Source" tool. |
| Image Tool | Allows inserting an image that is present on the server. Tip: URL resolution Several ways are available to reference and access images stored in the RMO gallery: By their public URL http://cpqServer:port/cameleonResources/RMGRepository/workspace/IMAGE/folder/name/ImageOn/en_US/image.png By a relative path in the RMO gallery. In that case, the corresponding URL is built by leveraging the cameleon.url.private parameter in cameleon.properties. For instance, if referenced by workspace/IMAGE/folder/name/ImageOn/en_US/image.png In the Designer, the URL built will be http://cpqServer:port/cameleonResources/RMGRepository/workspace/IMAGE/folder/name/ImageOn/en_US/image.pngworkspace/IMAGE/img1/ImageOn/en_US/QQ3A5812.JPG By an absolute path in the RMO gallery (starting with a slash). In that case, the corresponding URL is built by leveraging the cameleon.url.private parameter in cameleon.properties. For instance, if referenced by /workspace/IMAGE/folder/name/ImageOn/en_US/image.png In the Designer, the URL built will be sera http://cpqServer:port/workspace/IMAGE/folder/name/ImageOn/en_US/image.png |
| Zoom Tool | Allows zooming using a lens-type tool. |
| Eye Dropper Tool | Copies the stroke and fill properties of the currently selected object and applies it to any object selected afterwards. |
| Color Tools | |
| Change Zoom Level | Allows zooming by choosing a zoom level or by dragging a selection box around objects. |
| Change Fill Color | Applies a fill color or a fill gradient to new or selected objects. |
| Change Item Opacity | Applies a level of transparency to new or selected objects. |
| Change Stroke Color | Changes the stroke color for new or selected objects. |
| Change Stroke Width | Changes the stroke width for new or selected objects. |
| Change Stroke Dash Style | Changes the stroke dash style for new or selected objects. |
| Change Corner Style | Allows having sharp or rounded corners. |
| FUNCTIONS OFFERED BY THE SVG-EDITOR | |
|---|---|
| Change Stroke Endings | Allows having square or rounded line stroke endings |
| Object Modifiers | |
| Clone Element | Duplicates the selected object(s). |
| Delete Element | Deletes the selected object(s). |
| Move to Top | Moves the selected objects to the top of the current layer. |
| Move to Bottom | Moves the selected objects to the bottom of the current layer. |
| Convert to Path | Converts the selected object to an SVG-path. |
| Identify the Element | Change the name of the selected object. Important: all parametric objects need to have a different identifier! |
| Change Rotation Angle | Apply a rotation angle. By default, the object rotates around its own center. |
| Change Gaussian Blur | Applies a Gaussian blur to the object. |
| Align Element to Page | Allows aligning the selected object to the canvas' left side, center, right side, top, middle or bottom. |
| Change Coordinates | Allows changing the various coordinates. These coordinates depend on the chosen object. |
| Ungroup Elements | Ungroups the selected object |
| Multi-selection tools | |
| Group Elements | Groups the selected objects into one object. |
| Align Left | Aligns the left extremities of all selected objects. |
| Align Center | Aligns the horizontal center of all selected objects. |
| Align Right | Aligns the right extremities of all selected objects. |
| Align Top | Aligns the top extremities of all selected objects. |
| Align Middle | Aligns the vertical center of all selected objects. |
| Align Bottom | Aligns the bottom extremities of all selected objects. |
| Path Modifiers | |
| Link Control Points | Allows linking the control points for a node between 2 curved segments. |
| Change Node's X coordinate | Changes the X coordinate for the selected node. |
| Change Node's Y coordinate | Changes the Y coordinate for the selected node. |
| Change Segment Type | Change the selected segment to a straight or a curved one. |
| Clone Node | Adds an additional node in the middle of the selected segment. |
| Delete Node | Deletes the node and closes the segment between the previous and next node. |
| FUNCTIONS OFFERED BY THE SVG-EDITOR | |
|---|---|
| Open /Close Sub-path | Deletes the selected segment or closes the path by adding a segment between the 2 unlinked nodes. |
| Add Sub-path | Adds a sub-path (a polygon) inside the selected current one. |
Understanding SVG attributes
The following table shows an overview of the basic SVG object types as well as their main attributes. These attributes can typically be parameterized using the Designer.
| SVG ATTRIBUTES | ||
|---|---|---|
| Rectangle attributes | ||
| Attribute | Description | Explanations |
| id | Identifier of the object. | The identifier is a required attribute for any SVG-drawings generated by CPQ. It needs to be unique inside a Business Drawing. Sample value: "mySvgObject". |
| x | Top left corner X coordinate. | Expressed in pixels. Sample value: "10" or "10.5" |
| y | Top left corner Y coordinate. | Expressed in pixels. Sample value: "10" or "10.5" |
| width | Width of the rectangle excluding the stroke. | Expressed in pixels. Sample value: "10" or "10.5" |
| height | Height of the rectangle excluding the stroke | Expressed in pixels. Sample value: "10" or "10.5" |
| Ellipse attributes |
| SVG ATTRIBUTES | ||
|---|---|---|
| Attribute | Description | Explanations |
| id | Identifier of the object. | The identifier is a required attribute for any SVG-drawings generated by CPQ. It needs to be unique inside a Business Drawing. Sample value: "mySvgObject". |
| cx | Center X coordinate. | Expressed in pixels. Sample value: "10" or "10.5" |
| cy | Center Y coordinate. | Expressed in pixels. Sample value: "10" or "10.5" |
| rx | X radius of ellipse | Expressed in pixels. Sample value: "10" or "10.5" |
| ry | Y radius of ellipse | Expressed in pixels. Sample value: "10" or "10.5" |
| Path attributes | ||
| Attribute | Description | Explanations |
| id | Identifier of the object. | The identifier is a required attribute for any SVG-drawings generated by CPQ. It needs to be unique inside a Business Drawing. Sample value: "mySvgObject". |
| SVG ATTRIBUTES | ||
|---|---|---|
| d | Path data. The content of this attribute allows for the following instructions: moveto, line, curve, arc and closepath. | Sample elliptical arc value: |
| Line attributes | ||
| Attribute | Description | Explanations |
| id | Identifier of the object. | The identifier is a required attribute for any SVG-drawings generated by CPQ. It needs to be unique inside a Business Drawing. Sample value: "mySvgObject". |
| x1 | Start X coordinate of the line. | Expressed in pixels. Sample value: "10" or "10.5" |
| y1 | Start Y coordinate of the line. | Expressed in pixels. Sample value: "10" or "10.5" |
| x2 | End X coordinate of the line. | Expressed in pixels. Sample value: "10" or "10.5" |
| y2 | End Y coordinate of the line. | Expressed in pixels. Sample value: "10" or "10.5" |
| Text attributes | ||
| Attribute | Description | Explanations |
| SVG ATTRIBUTES | ||
|---|---|---|
| id | Identifier of the object. | The identifier is a required attribute for any SVG-drawings generated by CPQ. It needs to be unique inside a Business Drawing. Sample value: "mySvgObject". |
| x | X coordinate for the text (or if commaseparated, X coordinate for each character). | Expressed in pixels. Sample value: "10" or "10.5" |
| y | Bottom left corner Y coordinate for the text (or if comma-separated, bottom left Y coordinate for each character). | Expressed in pixels. Sample value: "10" or "10.5" |
| text-anchor | Aligns the text with respect to the initial X coordinate. start: the text will start at the X coordinate. middle: the text center will be located at the X coordinate. end: the text will end at the X coordinate. | start, middle, end |
| font-family | Font family (Arial etc.). Beware: installed fonts depend on the OS. | Beware: installed fonts depend on the OS. Sample value: "Arial". |
| font-size | Font size. | Expressed in pixels. Sample value: "10". |
| font-style | Italic. | normal, italic, oblique |
| font-weight | Bold. | normal, bold, bolder, lighter |
| SVG ATTRIBUTES | ||
|---|---|---|
| xml:space | Indicates how to handle spaces. Not to be changed. | Space handling is set to preserve by default. |
| Image attributes | ||
| Attribute | Description | Explanations |
| id | Identifier of the object. | The identifier is a required attribute for any SVG-drawings generated by CPQ. It needs to be unique inside a Business Drawing. Sample value: "mySvgObject". |
| x | X coordinate of the top left corner. | Expressed in pixels. Sample value: "10" or "10.5" |
| y | Y coordinate of the top left corner. | Expressed in pixels. Sample value: "10" or "10.5" |
| width | Width of the image. | Expressed in pixels. Sample value: "10" or "10.5" |
| height | Height of the image. | Expressed in pixels. Sample value: "10" or "10.5" |
| xlink:href | The URL of the image. | |
| General reusable attributes | ||
| Attribute | Description | Explanations |
| SVG ATTRIBUTES | ||
|---|---|---|
| stroke-linecap | Indicates the stroke ending style | The identifier is a required attribute for any SVG-drawings generated by CPQ. It needs to be unique inside a Business Drawing. Sample value: "mySvgObject". |
| stroke-linejoin | Indicates the corner style of the stroke | |
| stroke-dasharray | Stroke dash style. | |
| stroke-width | Stroke width. Half of the stroke width will be drawn to the inside, half of the stroke width will be drawn to the outside. | |
| stroke | Stroke color. | |
| fill | Fill color or url. | |
| Attributes only manageable using the Designer (sub-step « Parameters ») | ||
| Attribute | Description | Explanations |
| Rotation Angle | Rotation angle expressed in degrees, clock-wise. | |
| Rotation Center X Position | X coordinate to be used for the rotation center | Expressed in pixels. Sample value: "10" or "10.5" |
| SVG ATTRIBUTES | ||
|---|---|---|
| Rotation Center Y Position | Y coordinate to be used for the rotation center | Expressed in pixels. Sample value: "10" or "10.5" |
| Translation X value | Value to be used for a horizontal shift. | Expressed in pixels. Sample value: "10" or "10.5" |
| Translation Y value | Value to be used for a vertical shift. | Expressed in pixels. Sample value: "10" or "10.5" |
How to add parameters to a business drawing
Once the SVG-drawing has been created, it is still static. In order to tie some of its attributes to configuration properties, parameters have to be defined.
In order to see which attributes of the SVG allow for parameterization, proceed as follows:
How-To:
- [On the dashboard]
- Enter the Configuration Process of interest
- Go to step “Drawing / Drawing Editor”
- [In the explorer]
- Click on the tab “Search Basic Drawings”
- Choose the workspace of interest
- Enter a part of the name and/or description
- Hit “Search”
- Click on the Business Drawing of interest to open it
- [In the menu toolbar]
- Open the sub-menu for the step “Drawing”
- Click on the menu entry called “Drawing Parameters”
The step details are now updated and a table is shown, showing all SVG-objects along with their associated attributes. The following columns are shown:
- Drawing attribute : this column shows
- The SVG-objects, which are expandable and collapsible
- The SVG-attributes, when having expanded the SVG-object
- Specific translation and rotation functions, which are not tied to the SVG objectsWarning: The SVG-objects that are shown in the table are those which are
In order to add parameters to a business drawing, proceed as follows:
How-To:
- [In the menu toolbar]
- Open the sub-menu for the step “Drawing”
- Click on the menu entry called “Drawing Parameters”
- Execute the function “Add parameter”
- Enter a name and choose the corresponding type
- Hit “Create”
- A new parameter has been created and is usable in the SVG listing.
- [In the step details] For each parameter to be added:
- Locate the SVG-object of interest
- Expand the object in order to see its attributes
- Locate the attribute which is to be parameterized
- If the attribute can be defined by one parameter, choose it in the associated drop list
- If the attribute should be defined by a formula that uses parameters, create an associated BRC
How to create a drawing matrix
Whenever a drawing method has been activated for a sales breakdown line, that sales breakdown line will be associated to a drawing that will be generated on the fly by the CPQ engine.
In order to provide content to the drawing matrix for that sales breakdown line, proceed as follows:
How-To:
- [In the menu toolbar]
- Open the step “Drawing”
- [In the explorer]
- Select the explorer tab [Explore 'sales method description'>
- Expand the sales breakdown tree
- Click on the name of the sales breakdown line of interest
- The drawing matrix view appears for the sales breakdown line
- [In the menu toolbar]
- Execute the function “Insert Line” for each component that is necessary for the drawing assemble
- [In the drawing matrix]
- Give a unique name to each line which has been created.
- [In the menu toolbar]
- Execute the function “Save”
- [In the drawing matrix] For each component:
- Determine whether the component will be generated by a Business Drawing, by a child sales breakdown line or by a Drawing Grid
- Determine whether the component exists under all circumstances or not. In the latter case, associate an existence BRC to the cell “Existence BRC”.
Using Business Drawings in a drawing matrix
ASSOCIATED THE BUSINESS DRAWING TO THE DRAWING MATRIX
Whenever a Business Drawing is used to generate the drawing for a given drawing matrix line, you can either create it on the fly or associate an existing one.
In order to create a Business Drawing on the fly, proceed as follows:
How-To:
- [In the drawing matrix]
- Click on the “Business Drawing” cell
- [In the popup]
- Provide a name
- Provide a description
- Hit “OK”
- A new Business Drawing has been created and has been assigned to the drawing matrix.
In order to associate an existing Business Drawing to the drawing matrix line, proceed as follows:
How-To:
- [In the "Filter Objects" explorer]
- Select the workspace of interest
- Select the class "Business Drawing"
- [Optionally] Provide a part of a name
- [Optionally] Provide a part of a description
- [Optionally] Provide a user type
- Hit "Search"
- [In the resulting table]
- Drag & drop the retrieved Business Drawing onto the corresponding cell on the drawing matrix line
- [In the menu toolbar]
- Hit "Save"
DEFINE THE PARAMETER VALUES FOR THE BUSINESS DRAWING
Now that the Business Drawing has been associated to a drawing matrix line, its parameters have to be specified.
Business Drawings can be used in the context of multiple drawing matrix lines. For each line, different parameter values can be specified if necessary. The parameter values can be set by using at least one of the following:
- A fixed value
- A BRC
In the case that a fixed value is used in combination with a BRC, the fixed value will only be used as a default (fallback) value in the event that the BRC does not issue a result.
In order to specify the parameters for a Business Drawing in the context of a drawing matrix line, proceed as follows:
How-To:
- [In drawing map]
- Select the Drawing Bindings tab
- Locate the Business Drawing of interest and open it by clicking on it
- The Business Drawing parameters appear in a new table.
- [In the Business Drawing table] For each parameter
- Provide a fixed value.
- Provide a BRC that outputs the parameter value.
- Remark: one BRC can output multiple parameters simultaneously.
- [In the menu toolbar]
- Hit “Save”
How to assign a child sales breakdown line drawing to a drawing matrix line
Whenever the drawing matrix uses drawings issued from child breakdown line drawing matrixes, proceed as follows:
How-To:
- [In the drawing matrix]
- Click on the “Compound” cell
- In the drop list, choose the child sales breakdown line of interest
- [In the menu toolbar]
- Hit “Save”
How to assign a drawing grid to a drawing matrix line
Definition: A Drawing Grid represents a matrix BRC that issues a Business Drawing based on some criteria.
In order to assign a drawing grid to a drawing matrix line, proceed as follows:
How-To:
- [In the drawing matrix]
- Tick the checkbox in the “Drawing Grid” cell
- [In the menu toolbar]
- Hit “Save”
In order to open and/or design the drawing grid, proceed as follows:
How-To:
- [In the drawing matrix view]
- Select the tab “Drawing Grids” in the drawing matrix map
- Click on the Drawing Grid of interest to open it
How to define a Drawing Grid
Each time a drawing grid is used, it will have to be set up.
Definition: A Drawing Grid allows to associate to a drawing matrix line different Business Drawings depending on the values of Aliases (identifying CPE elements) if necessary.
A Drawing Grid contains the following information:
| DRAWING GRID STRUCTURE | ||
|---|---|---|
| Field | Required | Description |
| Operator (Alias) | No | The following operators can be used: For every alias type Equal (alias = value) Not Equal (alias <> value) In (alias in {value 1, value 2, …}) Not in (alias not in {value 1, value 2, …}) For integer, numeric, monetary and date aliases Less than (alias < value) Less than or equal to (alias <= value) Greater than (alias > value) Greater than or equal to (alias >= value) Between (value 1 <= alias <= value 2) < value < (value 1 < alias < value 2) <= value < (value 1 <= alias < value 2) < value <= (value 1 < alias <= value 2) For text-based aliases Like Not Like Note: For list-based aliases, only the “equals” operator can be used. |
| DRAWING GRID STRUCTURE | ||
|---|---|---|
| Alias | No | Depending on the operator, it describes the domain of values taken by the Alias. |
| Value | Yes | The Business Drawing of interest for the given combination of aliases and associated values. |
Once the drawing grid has been opened, proceed as follows to set it up:
How-To:
To define the structure of the drawing grid by adding drawing aliases:
- [In the menu toolbar]
- Execute the Add alias function
- In the popup, enter a name and a CPE. Provide an operator if it has not been deducted.
- Click on “OK”
- The alias is now added as a column of the drawing grid.
For each line to be inserted
- [Via the menu toolbar]
- Execute the function “Insert Line”
- [In the drawing grid]
- [Optionally] Assign an operator and value for each alias
- Assign a Business Drawing by creating it on the fly or by drag & dropping it from the “Filter Objects” explorer
- [Via the menu toolbar]
- Execute the Save function.
Define embedding parameters for drawing matrix lines
For each drawing matrix line that has been created, independently of the way it has been set up (Business Drawing, Drawing Grid or Compound), some additional parameters can be defined that will identify precisely in which location the drawing issued by that specific line will be rendered.
By default, all lines are treated in order of sequence, and all associated drawings will start at the coordinate (0,0) for the canvas defined by the drawing matrix.
Obviously, if no other transformations are applied, all drawings issued by the lines inside one Drawing Matrix will be placed on top of each other. In the case of the above-mentioned door kit, the following drawing would be issued:
Therefore, some additional parameters can be specified:
| PARAMETERS TO RE-POSITION A DRAWING ON THE CANVAS | |
|---|---|
| For each drawing line, the following parameters are available | |
| Translate X | Allows repositioning the drawing on the X-axis. This will result in a horizontal shift. |
| PARAMETERS TO RE-POSITION A DRAWING ON THE CANVAS | |
|---|---|
| Translate Y | Allows repositioning the drawing on the Y-axis. This will result in a vertical shift. |
| Rotate | Allows rotating the drawing. |
| Depth | Allows specifying the depth of the drawing. Drawing lines having the same depth will be treated in order of sequence. The smallest “depth” value will be on the “background” of the drawing. |
| Scale X | Allows scaling the drawing on the X-axis. All coordinates will apply this transformation on their X coordinate. If ScaleX=ScaleY, the drawing will scale proportionally. |
| Scale Y | Allows scaling the drawing on the Y-axis. All coordinates will apply this transformation on their Y coordinate. If ScaleX=ScaleY, the drawing will scale proportionally. |
For instance, for the above-mentioned example (the door kit), the door knot has to undergo a translation in order to be positioned on the right location on top of the door body. Moreover, the door knot “depth” value has to be larger than the door body “depth” value:
Understanding drawing related CPE
Drawing CPE can be absolute or relative, like most CPE. Here are some examples of drawing specific CPE:
Example 1: reference the existence of the current Drawing Matrix Line
CPE.currentDWL.exist.value
Example 2: reference an attribute (parameter) of the current Business Drawing
CPE.currentDW.attributeName.value
Example 3: reference an attribute of another Business Drawing in the current Drawing Matrix Line
CPE.currentDWL.DW/dwName.attributeName.value
Example 4: reference an attribute of a Business Drawing associated to another drawing matrix line in the current drawing matrix
CPE.currentDWL.DW/dwName.attributeName.value
Example 5: reference an attribute of a Business Drawing by specifying the drawing method and the line name:
CPE.currentSBL.DWM/dwMethod.dwlName.DW/dwName.attributeName.value
Example 6: reference an attribute of the drawing line name
CPE.currentDWL.attributeName.value
Example 7: reference an attribute of the drawing line name by specifying the drawing method and the line name:
CPE.currentSBL.DWM/dwMethod.dwlName.attributeName.value
- All parameter values belonging to Business Drawings can depend on other Business Drawing parameters in the same drawing matrix
- All parameter values belonging to Drawing Matrix Lines can depend on other Drawing Matrix Line parameters in the same drawing matrix Note: a drawing matrix = a drawing method assigned to one and only one sales breakdown line.Warning: DWL are resolved following a global graph and not necessarily in the order their definition.
