Const
The Selection
element lists all components that should be selected (highlighted) when displaying a viewpoint.
BCF is suitable for selecting a few components. A huge list of selected components causes poor performance. All clients should follow this rule:
If the size of the selected components is huge (over 1000 components), alert the user and ask them to reduce the number of selected components.
The unique identifier of the entity.
This is not in the BCF spec, but is used internally.
However, when a BCF component requires a GUID
, the uuid
property is used.
The Visibility
element decides which objects are visible and which are hidden.
Element/Attribute | Optional | Description |
---|---|---|
DefaultVisibility | Yes | Boolean. Defaults to false
|
Exceptions | Yes | A list of components to hide when DefaultVisibility=true or to show when DefaultVisibility=false |
ViewSetupHints | Yes | Boolean flags to allow fine control over the visibility of spaces, space boundaries and openings. A typical use of these flags is when DefaultVisibility=true but spaces, spaces boundaries and openings should remain hidden. All flags default to false
|
Optimization Rules
BCF is suitable for hiding/showing a few components. A huge list of hidden/shown components causes poor performance. When encoding a viewpoint follow these rules:
DefaultVisibility
to true and put the hidden components in exceptions.SpacesVisible
to false. If there are any spaces visible in the viewpoint, set the value to be the same as DefaultVisibility
and follow the optimization rules above while treating spaces like any other componentThe visibility is applied in following order:
DefaultVisibility
ViewSetupHints
Exceptions
Consider the viewpoint provided below.
DefaultVisibility="false"
hides all objectsSpacesVisible="true"
shows all space
- Inverting the Wall visibility makes it visible
- Interting the Space visibility makes it invisible
In summary, after applying the following viewpoint:
The Coloring
element allows specifying the color of components. For each color a list of components to be displayed with the that color should be provided.
The color is given in ARGB format. Colors are represented as 6 or 8 hexadecimal digits. If 8 digits are present, the first two represent the alpha (transparency) channel. For example, 40E0D0
would be the color Turquoise. More information about the color format can be found on Wikipedia.
Optimization Rules
BCF is suitable for coloring a few components. A huge list of components causes poor performance. All clients should follow this rule:
The Selection
element lists all components that should be selected (highlighted) when displaying a viewpoint.
BCF is suitable for selecting a few components. A huge list of selected components causes poor performance. All clients should follow this rule:
If the size of the selected components is huge (over 1000 components), alert the user and ask them to reduce the number of selected components.
The unique identifier of the entity.
This is not in the BCF spec, but is used internally.
However, when a BCF component requires a GUID
, the uuid
property is used.
The Visibility
element decides which objects are visible and which are hidden.
Element/Attribute | Optional | Description |
---|---|---|
DefaultVisibility | Yes | Boolean. Defaults to false
|
Exceptions | Yes | A list of components to hide when DefaultVisibility=true or to show when DefaultVisibility=false |
ViewSetupHints | Yes | Boolean flags to allow fine control over the visibility of spaces, space boundaries and openings. A typical use of these flags is when DefaultVisibility=true but spaces, spaces boundaries and openings should remain hidden. All flags default to false
|
Optimization Rules
BCF is suitable for hiding/showing a few components. A huge list of hidden/shown components causes poor performance. When encoding a viewpoint follow these rules:
DefaultVisibility
to true and put the hidden components in exceptions.SpacesVisible
to false. If there are any spaces visible in the viewpoint, set the value to be the same as DefaultVisibility
and follow the optimization rules above while treating spaces like any other componentThe visibility is applied in following order:
DefaultVisibility
ViewSetupHints
Exceptions
Consider the viewpoint provided below.
DefaultVisibility="false"
hides all objectsSpacesVisible="true"
shows all space
- Inverting the Wall visibility makes it visible
- Interting the Space visibility makes it invisible
In summary, after applying the following viewpoint:
The Coloring
element allows specifying the color of components. For each color a list of components to be displayed with the that color should be provided.
The color is given in ARGB format. Colors are represented as 6 or 8 hexadecimal digits. If 8 digits are present, the first two represent the alpha (transparency) channel. For example, 40E0D0
would be the color Turquoise. More information about the color format can be found on Wikipedia.
Optimization Rules
BCF is suitable for coloring a few components. A huge list of components causes poor performance. All clients should follow this rule:
The Selection
element lists all components that should be selected (highlighted) when displaying a viewpoint.
BCF is suitable for selecting a few components. A huge list of selected components causes poor performance. All clients should follow this rule:
If the size of the selected components is huge (over 1000 components), alert the user and ask them to reduce the number of selected components.
The unique identifier of the entity.
This is not in the BCF spec, but is used internally.
However, when a BCF component requires a GUID
, the uuid
property is used.
The Visibility
element decides which objects are visible and which are hidden.
Element/Attribute | Optional | Description |
---|---|---|
DefaultVisibility | Yes | Boolean. Defaults to false
|
Exceptions | Yes | A list of components to hide when DefaultVisibility=true or to show when DefaultVisibility=false |
ViewSetupHints | Yes | Boolean flags to allow fine control over the visibility of spaces, space boundaries and openings. A typical use of these flags is when DefaultVisibility=true but spaces, spaces boundaries and openings should remain hidden. All flags default to false
|
Optimization Rules
BCF is suitable for hiding/showing a few components. A huge list of hidden/shown components causes poor performance. When encoding a viewpoint follow these rules:
DefaultVisibility
to true and put the hidden components in exceptions.SpacesVisible
to false. If there are any spaces visible in the viewpoint, set the value to be the same as DefaultVisibility
and follow the optimization rules above while treating spaces like any other componentThe visibility is applied in following order:
DefaultVisibility
ViewSetupHints
Exceptions
Consider the viewpoint provided below.
DefaultVisibility="false"
hides all objectsSpacesVisible="true"
shows all space
- Inverting the Wall visibility makes it visible
- Interting the Space visibility makes it invisible
In summary, after applying the following viewpoint:
Generated using TypeDoc
The
Coloring
element allows specifying the color of components. For each color a list of components to be displayed with the that color should be provided.The color is given in ARGB format. Colors are represented as 6 or 8 hexadecimal digits. If 8 digits are present, the first two represent the alpha (transparency) channel. For example,
40E0D0
would be the color Turquoise. More information about the color format can be found on Wikipedia.Optimization Rules
BCF is suitable for coloring a few components. A huge list of components causes poor performance. All clients should follow this rule: