-
Set the preferences as follows:
-
From the
top bar,
click
.
-
From the Preferences dialog box, click
.
-
From the
Knowledge
tab,
select the:
- With value check box.
- With formula check box.
-
From the dialog box
tree,
click
.
-
From the
Display
tab,
select these check boxes:
- External References.
- Constraints.
- Parameters.
- Relations.
- Bodies under operations.
- Expand sketch-based feature nodes at
creation.
Note:
You only have to set the preferences once.
Thereafter, they are your default preferences.
-
Open Part Design, which is accessible from the Compass.
-
Create an AEC type 3D part as follows:
-
From the
top bar,
click
.
-
From the
New Content dialog box, expand
Types.
-
From
Building & Civil Architecture,
Building & Civil Furniture,
Building & Civil Spatial Structure, or
Building and Civil Structure, on a
right-click of the AEC typed PLM object type, select the
Set attributes at creation check box .
For example, to create a door part, from
Building & Civil Architecture,
right-click
Door and select the
Set attributes at creation check box .
-
Click the same AEC typed PLM object type.
-
From the new part type dialog box, in
Title, enter the new catalog part name.
-
From the
3D Part
tab,
select the
Create 3D Part check box.
-
Click
OK.
The system creates a new
tab
with your new catalog part name and adds the appropriate IFC property set to
the part.
-
On the new part
tab,
use
Part Design
to create a part.
You may create a parametric part or a part that contains multiple
bodies.
-
To control the position of the component relative to the host
object, add a publication containing an axis system
The axis system is composed of an origin point and three
orthogonal axes.
-
From
Part Design,
from the
Model section of the
action bar,
click
Axis System
.
For instructions on setting the axis system, see the user
assistance for
Part Design:
Defining an Axis System.
-
In the
tree,
double-click the top node.
-
From the
Tools section of the
action bar,
click
Create a Publication
.
-
In the
tree,
select the axis system node.
-
From the
Publication dialog box, from the
Publication
tab,
in
Function Name, enter the Position for the
name of the publication.
-
Click
OK.
In the
tree,
the system adds the publication under the
Publication node.
The system uses the Position publication to position the
component relative to the host. The y axis is vertical relative to the host.
For example, for a door or a window, the x axis is parallel to the sill; the y
axis is parallel to the jamb; the z axis is perpendicular to the wall in a
positive direction pointing out or away. For a furniture component such as a
chair, the x and y axes are in the horizontal plane and the z axis is vertical.
-
To limit the type of host for the component, create and publish a
string parameter as follows:
-
From
Part Design,
from the
Tools section of the
action bar,
click
Formula
.
-
Create a new parameter of type
string.
In the
tree,
the system adds the parameter under the
Parameter node.
-
Rename the parameter to
Host.
-
Set the parameter value to either
Wall or
Floor.
For information about creating a formula, see
Knowledge
Basics:
Formulas.
-
In the
tree,
double-click the top node.
-
From the
action bar,
click
Create a Publication
.
-
Select the Host parameter.
-
From the
Publication dialog box, from the
Publication
tab,
in
Function Name, enter
Host for the publication name.
In the
tree,
the system adds the publication under the
Publication node.
If the host is the floor, users can only insert the component on
horizontal surfaces. If the host is the wall, users can only insert the
component on non-vertical surfaces.
-
To provide alignment elements:
-
From
Part Design,
from the
Structure section of the
action bar,
click
Body.
-
Rename the body to
AlignmentElements.
-
Create one or more planes or points in the body.
-
In the
tree,
double-click the top node.
-
From the
Tools section of the
action bar,
click
Create a Publication
.
-
In the
tree,
click the
AlighnmentElements body.
-
From the
Publications
dialog box, from the
Publication
tab,
in
Function Name, enter
AlignmentElement for the publication name.
In the
tree,
the system adds the publication under the
Publication node.
-
To provide sill height:
-
From
Part Design,
from the
Tools section of the
action bar
click
Formula
.
-
Create a length parameter.
See
Knowledge
Basics:
Formulas.
-
Rename the parameter to
SillHeight.
-
In the
tree,
double-click the top node.
-
From the
Tools section of the
action bar,
click
Create a Publication
.
-
Select the
SillHeight parameter.
-
From the
Publications
dialog box on the
Publication,
tab,
in
Function Name, enter
SillHeight for the publication name.
In the
tree,
the system adds the publication under the
Publication node.
If the host is a wall, the system uses
SillHeight to define a line for the component snap
elevation. The system places the snap line at the specified
SillHeight distance from the story elevation.
-
To remove or add geometry to the building:
-
From
Part Design,
from the
Structure section of the
action bar,
click
Body
.
-
Add the desired solid bodies in the new body.
For instructions on inserting a new body, see the
Part Design
user assistance.
-
In the
tree,
double-click the top node.
-
From the
Tools section of the
action bar,
click
Create a Publication
.
-
In the
tree,
click the
Body node.
-
From the
Publications
dialog box, from the
Publication
tab,
in
Function Name, enter
Internal.
-
Click
OK.
In the
tree,
the system adds the publication under the
Publication node.
-
To expose parameters that your users can select in the
Position Component
dialog box:
-
Open
Engineering Rules Capture,
which is accessible from the
Compass
from
3D Modeling
Apps
.
-
To set the parameters, from the
Engineering Rules Capture section of the
action bar,
click
Parameter Set
.
-
In the
tree,
click
3D Shape.
The system adds the parameter set in the
tree.
-
To create another parameter set inside the first parameter
set, from the
action bar,
click
Parameter Set
again.
-
In the
tree,
click the new parameter set.
For instructions on setting a parameter, see in the user
assistance
Knowledge
Basics:
Creating Sets of Parameters.
In the
tree,
the system adds a parameter set underneath the first parameter set.
-
On a right-click of the second parameter set, click
Properties.
-
Change the name of the parameter set to
TemplateParameters.
-
Add the desired parameters under the
TemplateParamters parameter set.
-
In the
tree,
double-click the top node.
-
To create a publication, from the
Tools section of the
action bar,
click
Create a Publication
.
-
In the
tree,
click the
TemplateParamters parameter set.
-
From the
Publications dialog box, from the
Publication
tab,
in
Function Name, enter
TemplateParamters for the publication
name.
-
Click
OK.
In the
tree,
the system adds the publication under the
Publication node.
Parameters under the
TemplateParameters parameter set in
Publication appear in the
Position Component
dialog box. Users can edit the parameters while selecting
and placing the component. Supported parameter types include
length,
combo,
scalar,
angle, and
integer.
-
To provide alternate graphics for use instead of the model
graphics when exporting to DXF/DWG:
-
From
Part Design,
from the
Structure section of the
action bar,
click
Body
.
-
Add the desired geometry in the new body.
-
In the
tree,
double-click the top node.
-
To create a publication, from the
Tools section of the
action bar,
click
Create a Publication
.
-
In the
tree,
click the
Body node.
-
From the
Publications dialog box, from the
Publication
tab,
in
Function Name, enter
2D_Top for the publication name.
-
Click
OK.
In the
tree,
the system adds the publication under the
Publication node.
If the
2D_Top publication is present in a component,
the system uses the geometry in the publication to generate the graphics while
exporting the top view to DWF/DWG.
-
To have a component reference a dimension in the host object:
-
From
Part Design,
from the
Tools section of the
action bar,
click
Create a Publication
.
-
In the
tree,
select the parameter.
-
From the
Publications dialog box from the
Publication
tab,
in
Function Name, enter one of the following
for the publication name.
- WallThickness
- StoryHeight
- GrossStoryHeight
-
Click
OK.
In the
tree,
the system adds the publication under the
Publication node.
When a user inserts the component, the parameter value equals the
corresponding dimension from the host object.
-
To include dimension settings in attribute extensions and to
include glazed panel dimensions in the
Door Window Schedule:
-
Open
Engineering Rules Capture.
-
From the
action bar,
click
Rule
.
For instructions on setting a parameter, see in the user
assistance
Knowledge
Basics:
Creating Sets of Parameters.
The system adds the rule in the
tree
and displays the
Edit Rule
dialog box.
-
Add the following:
/* Find the reference where the properties are stored. */
let repRef(VPMRepReference)
let repInst(VPMRepInstance)
let ref3DPart(VPMReference)
let listOfInstances(List)
repRef = GetPLMOwner(Relations)
listOfInstances = repRef->ListInstances(NULL)
repInst = listOfInstances[1]
ref3DPart = repInst.Owner:VPMReference
/* Compute necessary dimensions. */
let OverallHeight(LENGTH)
let OverallWidth(LENGTH)
OverallHeight=`Picture\TemplateParameters\Window Height`
+2*Picture\Dimensions\LiningThickness
OverallWidth=`Picture\TemplateParameters\Window Height`
+2*Picture\Dimensions\LiningThickness
/* Set values for the WindowBaseQuantities */
let QTO(IfcQto_WindowBaseQuantities)
set QTO = ref3DPart
QTO.IfcQto_WindowBaseQuantities_MethodOfMeasurement="3D-Driven"
QTO.IfcQto_WindowBaseQuantities_Width=`Picture\TemplateParameters\Window
Height` +2*Picture\Dimensions\LiningThickness
QTO.IfcQto_WindowBaseQuantities_Height=OverallHeight
QTO.IfcQto_WindowBaseQuantities_Width=`Picture\TemplateParameters\Window
Height` +2*Picture\Dimensions\LiningThickness
QTO.IfcQto_WindowBaseQuantities_Height=OverallHeight
/* Set values for IFC Window */
let WINDOWTYPE(IfcWindow)
set WINDOWTYPE = ref3DPart
WINDOWTYPE.IfcWindow_OverallWidth=OverallWidth
WINDOWTYPE.IfcWindow_OverallHeight=OverallHeight
Note:
Variables and equations on the right-hand side
of the equations beginning with OveralHeight= and OverallWidth= need to be
customized to suite the individual components you are creating
-
Click
OK.
-
Export the component to 3DXML as follows:
-
From the
top bar
from
Share,
click
Export.
-
From the
Export dialog box, ensure
Format is set to
with authoring (*.3dxml).
-
Set
Location to
win_b64\resources\AECContent\BDGComponents.
-
Click
OK.
-
To add the component to the Content Library, use a text editor to
add an <Item> to
win_64\resources\AECContent for the new
component.
For example:
<Item TranslationMsgID="AEC_Large_Door" Category1=AEC_New_Door>AEC_Large_Door.3dxml</Item>
The catalog may contain a Category1 or a Category1 and Category2
hierarchy. When adding your component to the catalog, be careful to insert the
component in the proper sequence within the file. For example, all of the
components within a specific category should be grouped together and the
components should be ordered in the order they should appear in the Content
Library.
The Content Library includes your new component.
-
To add a translatable name that displays in the
Position Component dialog box, use a text editor
to add a line for the new component to
win_b64\resources\msgcatalog\AECIndex.CATNIs.
For example:
AEC_Large_Door = "Large Door";
The Content Library displays the translatable string rather
than the component file name.
|