Create a new "WorkSet/Project" level CSB called PSCE_Dynamic_WorkSetName.


 Product(s):ProStructures, ProjectWise
 Version(s):CONNECT Edition (10.XX.00.XX)
 Area:ProjectWise Integration
 Subarea:ProjectWise Dynamic Managed WorkSpace
 Original Author:Vyanktesh Nama, Bentley Product Advantage Group

Overview

This CSB will make the vital connection between the CSB and the ProjectWise WorkSet.

Steps to be follow

Please follow the below steps to achieve this.

1. In ProjectWise Administrator, under WorkSpaces > Managed > WorkSet/Project right-click over the WorkSet/Project Level and select New > Configuration Block.

2. In the New Configuration Block Properties, enter the name PSCE_Dynamic_WorkSetName and the description ProStructures CONNECT Edition Dynamic WorkSets. Once complete, click Apply.

The dialog title will change to PSCE_Dynamic_WorkSetName Properties.

Note: In the name section underscore ‘_’ (i.e. PSCE_Dynamic_WorkSetName) is not mandatory, one can use blank space also (i.e. PSCE Dynamic WorkSetName).

3. Go to the Configuration tab, click on Plus button, and Add the following variable:

Add Variable to the PSCE_Dynamic_WorkSetName CSB -

Name

_USTN_WORKSETNAME

Description

Define Dynamic WORKSETNAME Variable (_USTN_ WORKSETNAME)

Add Value

Operation Type: '='- Assignment

Value Type: String

Value: $(lastdirpiece (dms_project (_dgndir)))

Locked

YES

Tip: The configuration variable DMS_PROJECT(_DGNDIR) resolves the directory path to the first ProjectWise Project definition it encounters as it traverses backwards through the directories. This could resolve to a single parent Project (with no subprojects) or a Subproject. The configuration variable DMS_PARENTPROJECT(_DGNDIR) resolves the directory path to only the parent ProjectWise Project.

Tip: The configuration variable LastDirPiece (DMS_PROJECT(_DGNDIR)) resolves the WorkSet/Project name based on the directory path to the first ProjectWise Project definition it encounters as it traverses backwards through the directories. This WorkSet/Project name may be required or used in other CSB's.

Add Variable to the PSCE_Dynamic_WorkSetName CSB –

Name

REBAR_PROJECT

Description

Define Rebar Project Directory

Add Value

Operation Type: '='- Assignment

Value Type: ProjectWise Folder

Value: Change value to point to ProjectWise WorkSpace, browse to $(lastdirpiece (dms_project (_dgndir)))pw:\\<server name>:<datasource name>\Documents\PSCE_Managed_Configuration\WorkSpaces\USA_Canada_Metric\Standards\ProStructures\Rebar\Detailing\Metric\

Locked

YES

Tip: Setting REBAR_PROJECT limits the user to that one rebar project. The hidden Rebar commands cannot be used to switch to a different project. If REBAR_PROJECT is set to point to the Rebar directory in USA_CANADA_Metric workspace then you may get varying results for other workspaces. Hence, you need to set the rebar RABAR_PROJECT configuration variable to point to the correct workspace directory.

The final dialog will look like the below image. Once all good, click on the OK button.

In this way, we need to create new WorkSet/Project level CSB for ProStructures unit system.

Step 3: Add Exclusions (variables to be excluded from copy-out).