# Special Parameters

Smart Connections can read information from Host or connected element parameters and write them into inserted elements. Also you can read distance from insert point to connected element.

For that you can use parameters in your Families with some special rules.

1. **To read information from Host element, use #.**

Example:

<div align="left"><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FBeTbSiLCfZ22yiVfwYpO%2F0.jpeg?alt=media" alt=""></div>

A. To insert plate at the bottom of the column, use simple configuration to place plate Family at the center of bottomface of column.

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FhckSri65BurmnioxbxFb%2F1.jpeg?alt=media)

B. So that the plate automatically adjusts to the size of the column, you need to read column size parameters and usethem in your connection plate.

In the Family that you want to insert with Smart Connections, create a parameter following rules like these:

<div align="left"><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2Fa9oTes1BmcLLV31CPFSU%2F2.jpeg?alt=media" alt=""></div>

**Use the "#"** **symbol** in front of the parameter name.\
**Name, Discipline and Type of Parameter** - should be exactly the same as it is in the Host element.\
**Instance** - it must be Instance parameter.\
**Group parameter under** - it is necessary to group it under ***Model Properties***

This parameter can be used to define element position, offsets, size, used in formulas of other parameters, etc.

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FbOElBsnvDG5IvpqPI4do%2F3.jpeg?alt=media)

Executing Insert, Update, Modify, Update Parameters commands will copy information from Hosts parameter to inserted element's parameter.

2For example, size of plate is automatically changed based on the size of the column:

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FOFVQOkU1xpfXd0nn2B1g%2F4.jpeg?alt=media)

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FW8K2TaxFRr7zmZu7ixre%2F5.jpeg?alt=media)

2. **To read information from connected element, use ##.**

Example:

<div align="left"><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2Fq4NWQbJoURH4bm14RPpW%2F6.jpeg?alt=media" alt=""></div>

A. Insert connection element only at the positions of Virtual intersection of Structural Framing and Wall. To do that inSmart Connections configuration, use Adjust Layout rule:

<div align="left"><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FeIlXSsokZXRxudiGqeMs%2F7.jpeg?alt=media" alt=""></div>

B. Move connection element to the side of Structural Framing automatically. To do that, in connection Family createparameter using rules like these:

<div align="left"><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FRNRIJp8jtSahmTlgRBzf%2F8.jpeg?alt=media" alt=""></div>

**Use the "##" symbols** in front of parameter name.\
**Name, Discipline and Type of Parameter** - should be exactly the same as is in the Host element.\
**Instance** - it must be Instance parameter\
**Group parameter under** - it is necessary to group it under ***Construction***.

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FzeLx0lAJkYHofdXJ1EEA%2F9.jpeg?alt=media)

In this case **##bf parameter** is created and used to offset connection element from insert point.

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2F0wkPSjiKTcaKGxEFHQBB%2F10.jpeg?alt=media)

3. **To read distance to virtually intersected element, use 'Distance To'.**

Example:

<div align="left"><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FXf2P2AKcwixEvY1GJ1vN%2F11.jpeg?alt=media" alt=""></div>

A. To insert supporting elements on a wall, use simple configuration to insert them, but also use Adjust Layout distanceand search for the Floor, so your Distance To parameter would get the correct value.

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FdGkrnVBBlOqL4eDiTvsT%2F12.jpeg?alt=media)

B. Length of support elements should automatically be updated based on the distance to the Floor.

**Distance To** - add parameter with exact name to your insert Family\
**Instance** - it must be Instance parameter

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FZBq91mjIowpPblQyPsYI%2F13.jpeg?alt=media)

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2Fs99MhGx7k4cXv3lPdEyL%2F14.jpeg?alt=media)

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FDgM6eVoTYr24vQfVcA3j%2F16.png?alt=media)
