Announcement
March 10, 2015

Posted on March 10, 2015 by Dave Breiner, Synergis Solutions Engineer:

iLogic Drawing Form

As I promised, here is the follow-up to “Fill Out Your Title Block with an iLogic Form”. There are a number of ways to improve and add to the information you may need to see in your Title Block. I am going to show you a few methods of how to customize your title block and add the entries to your Title Block Form.
By using an iLogic Form, you can create a method that provides all of the “relevant” fields required to fill out a Title Block in one easy form. You need no special training to create this form, just a little up front work.
Before I begin, I would like to point out that this work should be done to the drawing template if you intend to use it on a regular basis. Make a copy of the template you intend to use, rename it, save it and edit that one.

if1

Fig. 1


if2

Fig. 2


Fig. 3

Fig. 3

Creating Custom iProperties

Above (Fig. 1) is an example of my title block and (Fig. 2) is an example of our goal of an iLogic Title Block Form.
Most information is easy enough to find however, I have created a few Custom iProperties that are important to me for the way I work. (Fig. 3) I have created Custom iProperty fields called “Customer”, “Drawing No.”, Drawing Title:”, “Project No:” and “Serial No:”. You can type in any place holder for each so we have information with which to work.
 
 
 

Creating Drawing Parameters

if4

Fig. 4


In the drawing, go to the Manage Tab and select the Parameters command. In the Parameters window create a Numeric User Parameter called “SCALE” and a Text User Parameter called “CUSTOMER”. For the SCALE parameter, I made a multi value list that contains my most common scales. For my CUSTOMER parameter, I made a multi value list that contains my most commonly used customers. (Fig. 4)
Fig. 5

Fig. 5


 
Next we will create a few simple Rules. (Fig. 4) From the Manage tab go to the iLogic panel and click on the “iLogic Browser”. From the Rules tab on the iLogic Browser, right click and select Add Rule.
 
 
 
 
 

Creating Rules

Create a new rule called “SCALE RULE” which contains the following text.

‘Scale Rule created by Dave Breiner 10/28/14

‘This rule controls the scale of the stated view.

ActiveSheet.View(“VIEW1”).Scale = SCALE

Create a second rule called “CUSTOMER RULE” which contains the following text.

‘Customer Rule created by Dave Breiner 10/28/14

‘This rule transfers the user parameter customer to the Custom iProperty “Customer”.

trigger = iTrigger0

iProperties.Value(“Custom”, “Customer”) = CUSTOMER

The advantage to this process lets you control the manner in which the Customer’s name appears, list contents and spelling of the customer’s name along with the list of the available scales. You can add or remove items from these lists just by editing the multi value parameters.
The last of the upfront work involves configuring your templates title block with any new fields you would like to add. From my title bloc shown at the beginning of this article, you can see that I have customized and added fields that are important for my use. All of this work is being done to a copy of one of my production templates. I will rename this template when finished and save it in the correct location for day to day use.

Editing the Title Block Definition

Fig. 6

Fig. 6


From the Model browser, expand Sheet: 1 and right click on the title block. Select Edit Definition from the window. (Fig. 6)
 
 
 
 
 
 
 
Fig. 7

Fig. 7


 
For this example, which can be used for all fields, I have created a label for my Customer field. (Fig. 7) From the Create Panel on the Sketch Tab, I select the text box and draw a rectangle under the Customer label.el.
 
 
Fig. 8

Fig. 8


The Format Text window opens. (Fig. 8) Begin by selecting the correct Font and Font Size.

  1. Since we are working with a Custom iProperty, select the “Custom Properties – Drawing” from the Type pulldown.
  2. The Property pulldown gives you your choices of all the Custom Properties that you created. For our example, select Customer.
  3. Click the Add Text Parameter button to insert the Customer parameter.

At the bottom of the window, click OK. You can change the size of the text box and reposition the text field to your liking.
When you are finished adding fields, click the Finish Sketch button in the tool bar. This gives you the option of saving edits with the current name or with a new name.
After you save your work, this should complete our prep work.

Building the Form

Fig. 9

Fig. 9


Now that the upfront work is complete, we can move on to creating our Form.
From the “iLogic Browser” select the Forms tab (Fig. 9), right click and select Add Form.
 
 
 
 
The Form Editor will appear as pictured below.
Fig. 10

Fig. 10


 
Select the iProperties tab in the parameters window in the upper left of the editor. (Fig. 10)
 
 
 
 
 
 
 
 
 
 
Fig. 11

Fig. 11


Above is the Form Editor. (Fig. 11) In the top right area (Design Tree) select Form 1 under the Label heading. In the Properties window lower right, click Label under the Name. Highlight “Form 1” and type “TITLE BLOCK INFORMATION”.
From the Tabs section in the upper left of the window (Fig. 12), select the iProperties tab, drag and drop all desired fields onto the Design Tree. You will notice that as you drop your fields in the design tree, they are added to the Form preview at right.
 
 
Fig. 12

Fig. 12


Fig. 13

Fig. 13


When you have added your iProperties field, select the Parameter Tab and drag and drop the SCALE and CUSTOMER fields. (Fig. 13)
Any of these fields can be dragged up or down to resort the list.
You can also change the spelling and case of any Label by selecting the field and changing its Label in the Properties window.

Testing the Form

Fig. 14

Fig. 14


 
When you are finished adding fields, click “OK” at the bottom of the window. A button with the label “TITLE BLOCK INFORMATION” is now in our Forms list. (Fig. 14) Click on the new button for the Form to open.
 
 
Fig. 15

Fig. 15


Fig. 16

Fig. 16


As you start to change the information in the Title Block Form, (Fig. 15) you will see the immediate updates in your Drawing Title Block. (Fig. 16)
With the SCALE pulldown, you can make changes to the scale of View 1. Remember to change the view number in the SCALE RULE to match the view number of the view you would like to scale in the drawing.
That is it! All the RELEVANT information at your fingertips in one Form.
You are welcome to suggest a topic that you would like me to address in a future article.
‘Til then!
Dave Breiner
dave.breiner@synergis.com
dave_breiner_MG_0352Dave Breiner joined Synergis in 2013 as a Solutions Engineer on our Manufacturing team with an amazing amount of experience. Coming directly from being a CAD Manager with SPX/Ecolaire, Dave is well versed in implementing and using Autodesk software having transitioned the department from 2D to 3D modeling by developing a 3D modeling program, implementing modeling standards, and creating automated models using iLogic programming. Dave began his career with SPX as a preliminary designer of steam condensers before being promoted to Manager of Drafting. Prior to this, Dave was with Bethlehem Steel for over 20 years, performing many tasks including millwright, rigger and fitter. During this time he also completed his degree in Engineering Design.