OBD Connect - std_appl.cfg Revisited

OBD Connect - std_appl.cfg Revisited

It's been a while since I've had time to sit down and put some updates together. I've been wanting to share some updates for while, but rather than bombard you all at once I'll split down what I've done to date into OBD and OPM.

If you've missed things to date, you can have a quick read here:

The basics are still the same, but having gone through some issues some updates have been made:

#---------------------------------------------------------------------------

# Determine MicroStation Version

#---------------------------------------------------------------------------

_CADmanage = 1

%if defined (_VERSION_10_0)

STD_MS = MSCE

%endif

_USTN_DISPLAYALLCFGVARS = 1

#---------------------------------------------------------------------------

# Set standard configuration based upon MicroStation version

#---------------------------------------------------------------------------

%if exists ($(hta_sBentley)MSCE_config/Organisation/.)

_USTN_ORGANIZATION = $(hta_sBentley)MSCE_config/Organisation/

%lock _USTN_ORGANIZATION

%endif

%undef _USTN_USERCFG

%undef _USTN_WORKSPACENAME

%undef _TF_WORKSPACEROOT

%if $(USERNAME) == "sean.forward"

_USTN_CAPABILITY < +CAPABILITY_UI_ALWAYSSHOWADMINWORKFLOW

%endif

%if exists ($(hta_sBentley))

OPM_BUILD?????= $(hta_sBentley)

%else

OPM_BUILD?????= D:/_CADsystem/Bentley/

%endif

_USTN_CUSTOM_CONFIGURATION = $(OPM_BUILD)MSCE_config/

%include $(_USTN_CUSTOM_CONFIGURATION)*.cfg

_USTN_CONFIGURATION = $(OPM_BUILD)MSCE_config/


To make sure everything is running, I've added a check config:

_CADmanage = 1

After some issues with setting some variables, I've added a few lines to undefine them:

%undef _USTN_WORKSPACENAME

%undef _TF_WORKSPACEROOT

Once undefined it became much easier to set them later in the process.

The last change I have made is to initiate the inclusion of the custom configurations. I've ended up going down this route as I had issues when trying to get the build to run the build by resetting config locations. Using the big stick approach seems to have worked around that and means there is no need to edit any local cfg files:

%if exists ($(hta_sBentley))

OPM_BUILD?????= $(hta_sBentley)

%else

OPM_BUILD?????= D:/_CADsystem/Bentley/

%endif

_USTN_CUSTOM_CONFIGURATION = $(OPM_BUILD)MSCE_config/

%include $(_USTN_CUSTOM_CONFIGURATION)*.cfg

_USTN_CONFIGURATION = $(OPM_BUILD)MSCE_config/

The base is now complete and sets the foundation for the next phases of the build.

More soon, stay tuned.

要查看或添加评论,请登录

Sean 'Bear' Forward的更多文章

  • An appl a Day

    An appl a Day

    I've had a few queries on where, why and how when it comes to cfg placement to fire off builds and if it can be used if…

  • Bentley Connect Changes to CADmanage Start-Up

    Bentley Connect Changes to CADmanage Start-Up

    So, while we've had changes to the configs between V8i and Connect, the key to have all of this work using the same app…

  • Work Smarter, Not Harder II

    Work Smarter, Not Harder II

    We're all wired differently. Me, I like to have things simplified when it comes to my tools.

  • Work Smarter, Not Harder

    Work Smarter, Not Harder

    It's the little things that can make the difference when it comes to different CAD packages and the versions changes…

  • Stinking Pile of Directories

    Stinking Pile of Directories

    So, what does STD_APP have to do with anything? Well, while worrying about how to sort out everything else, I forgot…

  • Stuck with It – WorkSpace and Workset

    Stuck with It – WorkSpace and Workset

    I tried. I really did try.

    2 条评论
  • User Files – Wherefor Art Thou

    User Files – Wherefor Art Thou

    One of the first issues raised during the beta process was the changes to the location of user files. During beta and…

  • My CADmanage Journey V8i to Connect

    My CADmanage Journey V8i to Connect

    As a CAD Admin there is no such thing as consistency. Client standards, users, project styles, discipline requirements…

  • Sometimes It's the Basics - Part 3

    Sometimes It's the Basics - Part 3

    I hope you're going well during these hard times. It's certainly left me penty of time to ponder the future of the…

    1 条评论
  • Sometimes It's the Basics - Part 2

    Sometimes It's the Basics - Part 2

    Well, if you'r a regular reader I hope I haven't fried your brain with how my builds work. In the end, the build is…

社区洞察

其他会员也浏览了