Tips

What Version of Windows?

Many organizations will have different versions of the windows operating system installed on their users’ computers. Occasionally your macros will need to perform different actions based on the version of the Windows operating system on the client computer. The code sample below demonstrates how to determine what version of windows is installed.

Option Explicit
Private Declare Function [...]

Array Along Path

In the newer releases of MicroStation an option was added to the Construct Array tool. The older options included Rectangular and Polar now there is a new option Along Path. This method can be accomplished by Distance, Number, or Both.

Number – defines the number of items placed along a path.
Distance – defines the [...]

Import Lidar Data

In the InRoads V8i (SELECTseries 1) release there is a new tool called Data Acquisition. This tool can be used for acquiring many different data files from raw survey data to LandXML files. In this tip we will show how to import Lidar Data into Data Acquisition and then export and display the [...]

Sorting Layer/Level Names

When developing VBA macros for either AutoCAD or MicroStation it is often necessary to display a list of the layers/levels in the active file in either a ListBox control or ComboBox control. Unfortunately the layer/level names are not sorted in alphabetical order and the VBA UserForm controls do not have their own Sort methods. Using [...]

Reference Orientation

New in MicroStation V8i (SELECTseries 1) is the ability for an existing attachment to have its attachment method changed without having to detach and then reattach the reference. By default the Orientation column is hidden in the References dialog.

Open the References dialog box.
Right click the column header and add Orientation from the list.
Left click the [...]

Obtaining Drive Information

The Windows Script Host Object Model has many useful properties and methods for dealing with files, folders, disks, etc. One common use is for checking the amount of available space on a drive before creating a large file. The example function below illustrates how to use the FileSystemObject along with the Drives, and Drive [...]

Create a Feature Table Report in InRoads Survey V8i (SELECTseries 1)

Since Bentley has moved to the XIN file format creating a simple Feature Table Report seemed lost. There is a new way of creating a Feature Table Report or survey code list in the newer versions of InRoads.

From the InRoads pull down menu select Tools > View XML Reports. The Bentley Civil Report [...]

Use Annotation Scale with References

MicroStation V8i has the added functionality to apply Annotation scale to reference file attachments. When you change the Annotation scale of the current model all references with annotation scale applied will update.
Prior to using Annotation Scale with References the design file that will be referenced must already utilize Annotation Scale for at least one [...]

Top Ten things worth mentioning about InRoads Suite V8i SS1

InRoads SELECTSeries 1 was released about a week ago and there are a few tools worth mentioning right away to get you excited about this release. The following month’s tips will look at these enhancements in more detail.

Bentley Map was added for FREE to the Bentley InRoads Suite and Bentley Rail Track Suite products. [...]

Searching Sub-folders

The Windows Script Host Object Model has many useful properties and methods for dealing with files, folders, disks, etc. One common use is for searching for a file in one or more sub-folders. The example function below illustrates how to use the FileSystemObject along with the Folders, Folder, Files, and File objects to iterate [...]

« Older Entries Newer Entries »