<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Parametric Cell Variable</title><link>https://communities.bentley.com/products/microstation/f/microstation-forum/182556/parametric-cell-variable</link><description>Hello, 
 I created a simple gantry beam parametric cell with signages, see snap below. Can i make a variation of this parametric cell that indicates the number of signs? 
 i.e 
 Variable 1 - 2 no. signs 
 Variable 2 - 3 no. signs 
 Variable 2 - 4 no.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Parametric Cell Variable</title><link>https://communities.bentley.com/thread/532799?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 06:21:09 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:f54a07f3-11e6-41b8-a608-e6121d3188d1</guid><dc:creator>Grace Ma</dc:creator><description>&lt;p&gt;Hi Crisanto,&lt;/p&gt;
&lt;p&gt;This Conditional expressions let you use if &amp;hellip; else logic(testExpression ? resultIfTrue: resultIfFalse) to get different results based on conditions. It could be true ? true : false and false ? true : false. Conditional expressions can also be combined and nested like other expressions. Below are some examples:&lt;/p&gt;
&lt;p&gt;Assume you have variables Length and Width, for conditional expressions, it could be:&lt;/p&gt;
&lt;p&gt;true ? 1 : 2&lt;/p&gt;
&lt;p&gt;false ? 3 : 4&lt;/p&gt;
&lt;p&gt;true ? Length : Width&lt;/p&gt;
&lt;p&gt;false ? Length : Width&lt;/p&gt;
&lt;p&gt;Length&amp;gt;5 &amp;amp;&amp;amp; Width!=2 ? 4:3&lt;/p&gt;
&lt;p&gt;Length &amp;gt;5 ? 6: Length&amp;lt; 2 ? 1 : 4&lt;/p&gt;
&lt;p&gt;Length &amp;gt;5 ? Length&amp;lt; 8? 6 : 9 : 2&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parametric Cell Variable</title><link>https://communities.bentley.com/thread/532781?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 03:52:35 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:fbbd46f3-43dc-4339-87f4-fe41eef46d47</guid><dc:creator>Crisanto Aquino</dc:creator><description>&lt;p&gt;Good one! thanks Grace. Since i&amp;#39;m new to this expressions, is there a quick guide/tutorial on how to make simple or more complex expressions?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parametric Cell Variable</title><link>https://communities.bentley.com/thread/532779?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 03:36:51 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:91300255-8f99-45ee-bc8f-e2f353b66a36</guid><dc:creator>Grace Ma</dc:creator><description>&lt;p&gt;Hi Crisanto,&lt;/p&gt;
&lt;p&gt;You can try use conditional expressions(?:) in your Sign Size variable. For example, if your Sign Size is based on Length, you can use &amp;quot;Length&amp;gt;10?2:1&amp;quot; in Expression builder. It means if Length value&amp;gt;10, Sign Size=2, otherwise Sign Size=1. This is just a simple example, you can create complex expressions if necessary.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/273/pastedimage1563248083399v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parametric Cell Variable</title><link>https://communities.bentley.com/thread/532770?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 02:25:35 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:b9f9710b-f7fb-4333-8e94-4df91c1ddc59</guid><dc:creator>Crisanto Aquino</dc:creator><description>[quote userid="1010134" url="~/products/microstation/f/microstation-forum/182556/parametric-cell-variable"]&lt;p&gt;Variable 1 - 2 no. signs&lt;/p&gt;
&lt;p&gt;Variable 2 - 3 no. signs&lt;/p&gt;
&lt;p&gt;Variable 2 - 4 no. signs&lt;/p&gt;[/quote]
&lt;p&gt;I mean Variations, not variable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>