GithubHelp home page GithubHelp logo

markstefanchuk / accudrawreset Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 490 KB

Accudraw Reset adrstv8i for MicroStation (MDL)

Batchfile 0.67% C 21.28% R 48.86% C# 29.19%
mdl microstation cadgurus

accudrawreset's Introduction

Accudraw Reset

MicroStation Add-in changes focus to accudraw on reset. Added .Net version for MS Connect and OpenRoads.

Commit description says that the V8i version if for MS Connect. This is not right. Ignore the description. Adrstv8i will run in the latest version of MicroStation V8i. Adrstmsc is the MicroStation CONNECT version.

What do I Download?

If you just want to install and run the program...

For MicroStation Connect: Open the AccuDrawReset/adrstmsc/adrstmsc/bin/x64/Debug/ folder. Find the file Adrstmsc.dll. Right click and download this file. Put it in your MdlApps folder.

All other versions - go to the applicable version folder. That is adrstxm for XM, adrstv8i for V8i and so on. Find the file with the .ma extension. Right click to download this file. Put it in your MdlApps folder.

If you want to build the program I recommend cloning the git repo or downloading the project as a zip file. I used VS 2017 to build the MS Connect version. And you can edit the MDL versions with any text editor like Notepad++. See the section below on compiling the source (this applies to the MDL versions).

V8i Usage

To load: MDL LOAD ADRSTV8I

On load a monitoring command is launched that watches for a user reset (left mouse button). When this happens focus is moved to the accudraw dialog.

Dev note: Not certain how useful this add-in is. It might interfere with other event listeners.

MS CONNECT Usage

Right Click anywhere (i.e. reset) to move the cursor to the Accudraw dialog.

V8i Files

9/17/2017 - added source for older versions. The following folders were added.
adrst: Original accudraw reset code.
adrstse: compiled version for MicroStationSE
adrstV8: first version for V8
adrstXM: updated V8 version for MicroStationXM build.

adrstv8i.h - header file.
adrstv8i.ma - compiled add-in. Put this file in your mdlapps folder.
adrstv8i.mc - main code file and entry point.
adrstv8i.mke - make file.
adrstv8i.mki - make file called from mke.
adrstv8i.r - standard resource file.
adrstv8icmd.r - command resources.
fdf.fdf - program includes.
go.bat - use this file to run bmake. Needs to be edited and
expects that the environment variable MS is defined and points
to the MicroStation folder containing ustation.exe.

Compiling the V8i Source

Use bmake to compile. Example included in go.bat. The MicroStation SDK command window is the easiest way to build the source.

Open the command window and cd to MicroStation\mdl\bin
For a standard install, c:\Program Files (x86)\Bentley\MicroStation V8i (Selectseries)\MicroStation\mdl\bin\

From this location you can run, bmake -a (path to app)\adrstv8i.mke

For me, bmake -a Z:\Documents\Github\CADGURUS\adrstv8i\adrstv8i.mke

accudrawreset's People

Contributors

markstefanchuk avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.