Applies To Product(s): MicroStation Version(s): 08.11.07.443 Environment: N/A Area: Raster Subarea: Original Author: Frank McAllister, Bentley Technical Support Group Is there a Key-In that can be used to attach a raster image and set Inherit GeoCS to “Not Inherited”? There is no key-in forMicroStation that can be used to attach a raster image and set "Inherit GeoCS from Model" to Not Inherited and there is no key-in that can be used to set "Inherit GeoCS from Model" to Not Inherited once the raster image has been attached. One option would be to open a dgn file and then do Workspace Preferences Raster Manager Default Attributes Set Default Attributes Geometry and set "Inherit GeoCS from Model" to Not Inherited. This will set the default when you attach a raster image to be Not Inherited in the userspace that you are currently using. If you use multiple userspaces then it would have to be set in each one of the userspaces that you use. For example if you have MicroStation and you have Descartes or you have different custom userspaces then you would have to open each userspace and set the Default Attribute setting. The userspace will keep the setting as long as you do not delete the user preference file (*.upf) file. Other options would be to double click on the raster image name in Raster Manager which will bring up an Element Information box and you can change Geometry "Inherit GeoCS from Model" to Not Inherited. Another option is the user can enter "Dialog Raster Edit" in the key-in window and it will bring up the Element Information box and they can change Geometry "Inherit GeoCS from Model" to Not Inherited.
↧
Wiki Page: Key-In to set raster image Inherit GeoCS to “Not Inherited”
↧
Wiki Page: Eliminating The AE Table Error When Creating An Active Entity [TN]
Applies To Product(s): MicroStation, MicroStation GeoGraphics, MicroStation GeoOutlook Version(s): All Environment: N/A Area: N/A Subarea: N/A Original Author: Bentley Technical Support Group Overview This TechNote will explain how to eliminate the "Unable to load AE table" error when attempting to create an active entity in MicroStation when connected to a database. There can be various causes for this error when trying to build the Active Entity. Here are things to try that can help you resolve the error. The leading reason for this error is that you are using either an SQL Reserved Word as a column name or an invalid character in the column name. Column names cannot contain any of the following: SQL Reserved Words (they are used by the ANSI SQL language). A list of SQL Reserved Words can be obtained from your database documentation (for example, if you're using Microsoft Access, look up "reserved words" in the online help index). Spaces: For example Parcel Lot is invalid but Parcel_Lot is acceptable. Symbols: For example slashes, asterisks, etc. Parcel# is invalid but Parcel_Num is acceptable. Numbers: Any columns (or tablenames) beginning with a number are invalid. For example 2_date is invalid but Date_2 is acceptable. Another cause of the "Unable to load AE" error is using improper SQL syntax in the AE= or FI= statement. Both the AE= and FI= statement are typical SQL insert statements. The AE= statement will always be in the form of an insert statement, for example insert into table ( column1, column2 ) values ( value1, value2 ) . The FI= statement will always be a select statement, for example: select * from tablename where column = value . If you are unsure of the syntax, test these statements in the SQL Window first (without the AE= or FI=) and see if they return data from the table. If they don't, then you most likely have an error with the statement that must be fixed. When you have corrected the error, try the AE= or FI= in the Key-in field. Examples of these statements are on page 13-13 in the MicroStation 95 Administrator's Guide. Database permissions may also cause problems creating the Active Entity table. In Microsoft Access, it is possible to assign certain workgroup privileges through a system.mda (or .mdw) file. If you are required to supply a login name and password when you enter Access, you have login privileges assigned to your account. If you want to use MicroStation with this database, you must add a step when setting up your ODBC data source. In the ODBC Setup dialog that contains your data source, go to the bottom where it says System Database. Turn on Database instead of None, and choose your system.mda file by clicking the System Database... button. Now when you connect through MicroStation, ODBC will prompt you with an additional dialog to enter your login name and password. In addition, make sure that there is no Read-Only attribute on the .mdb file itself. If you are using an Oracle database, make sure you have write privileges for MicroStation to create the AE table on the fly (a temporary table MicroStation creates to hold the active entity). If the Oracle user permissions do not allow new tables such as the AE table to be created, the "Unable to load AE" error will result. Also, when you create a new table in Oracle that you'd like to link, you must enter a starter "seed" row in the table first before performing AE or FI to avoid the "Unable to load AE" error. Make sure that your table has a MSLINK column and that the data type is Number. This is a required field for all tables containing data that will be linked to graphics. To further debug the "Unable to load AE" error, the Session Debug tool can be used. Disconnect and reconnect to the database to establish a fresh connection. In the MicroStation Key-in window, key in session debug on . This will open a text window on top of MicroStation. Then send your active entity statement again. Database server calls will appear in the Messages dialog. When this is finished scrolling, you can scroll back to the point where the FI= or AE= statement was first sent and look for an error message from the database driver. You may see an error such as "Improper SQL syntax" or "Datatype Mismatch"; you should be able to determine the cause of the problem from this message. See Also Product TechNotes and FAQs Geospatial Product TechNotes And FAQs External Links Bentley Technical Support KnowledgeBase Bentley LEARN Server Comments or Corrections? Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!
↧
↧
Wiki Page: Key-In "RASTER PREVIEW FIXED"
Applies To Product(s): MicroStation Version(s): 08.11.07.443 Environment: N/A Area: Raster Subarea: Original Author: Frank McAllister, Bentley Technical Support Group Problem Description MicroStation V8.5 release contained Key-In "RASTER PREVIEW FIXED". In MicroStation SS2 the key-in "RASTER PREVIEW FIXED" no longer exists. Is there an equivalent key-in in V8i for "RASTER PREVIEW FIXED"? Reason If user entered the key-in “RASTER PREVIEW FIXED” in MicroStation V8.5 it attached a raster image with the setting “Temporary Attachment.” The raster image was temporarily attached in the DGN file for preview of the raster image. Because the raster image was attached as a “Temporary Attachment” it is detached when the user exits the DGN file. When the user opens the DGN file again the raster image would no longer be attached to the dgn file. It is only attached temporarily in Raster Manager. Steps to Resolve The option to attach raster images in “Temporary Attachment” mode was removed in the MicroStation XM release. There is no longer a key-in to attach raster images temporarily using the “Temporary Attachment” mode in a DGN file. The answer to the question is the key-in “RASTER PREVIEW FIXED” no longer exists and is no longer an option in MicroStation V8i.
↧
Wiki Page: New Sheet doesn't save size selected. Always reverts to Sizes 0×0
Applies To Product(s): Bentley Map Version(s): 08.11.09.107 Environment: N/A Area: General Subarea: Original Author: Maria Munoz, Bentley Technical Support Group Problem Description New Sheet doesn't save size selected. Always reverts to Sizes 0×0. We have seen this problem before in Bentley Map and Powercivil when user mixed the workspaces from products with same version but in different languages or by copying and pasting different files from one version to another in different languages. Steps to Resolve Two variables point to same file SHEETSIZES.DEF but one is in Spanish (UNITS pulgadas y milímetros) and the other in English (Inches and millimetres) what it seems to cause the problem. The variables involved where: MS_CUSTOMSHEETSIZEDEF MS_GEOPRINTPREP_SHEETSIZESDGNLIB Normally issue disappear after uninstalling the product and doing a fresh installation or by pointing both variables to SHEETSIZES.DEF in same language Recommend solution uninstalling product and do a fresh installation.
↧
Wiki Page: MicroStation crashes when user does Sheet Model Reference Raster Attach Reference
Applies To Product(s): MicroStation Version(s): 08.11.09.357 Environment: N/A Area: Raster Subarea: Original Author: Frank McAllister, Bentley Technical Support Group Problem Description User attaches ECW files to a Design Model and ECW files display. User switches from Design Model to Sheet Model and does File Reference Display Raster Reference and it crashes. User is using MicroStation 08.11.09.357. Steps to duplicate problem In MicroStation 08.11.09.357 open Desgn Model Attach ECW files Change to Sheet Model File References Display RasterReferences Reason View draw/refresh, possibly inside a range calculation… Steps to Resolve Problem has been fixed in MicroStation 08.11.09.424 and later releases.
↧
↧
Wiki Page: Previous Map Enterprise Installation is Detected, Install Will Now Abort
When installing Bentley Map Enterprise V8i (SELECTseries 3) you receive an alert dialog box that says "A Bentley Map Enterprise V8i installation is detected on your system. You can only have one Map Enterprise V8i installed on your system. This install will now abort. Please first uninstall any other Map Enterprise V8i and execute this install again." If you have a Windows 7 64-bit operating system, the problem may be that there is a latent Registry key on the system. Use 'Regedit' and look in the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node for a \Map or \Map Enterprise key and remove it.
↧
Wiki Page: Out of range exception – [14] - Raster Convert Error
Applies To Product(s): MicroStation Version(s): 08.11.07.443 Environment: N/A Area: Raster Subarea: Original Author: Frank McAllister, Bentley Technical Support Group Error or Warning Message Getting error message “Out of range exception – [14]” in Raster Manager when doing Batch Convert and SaveAs using a MrSID raster image when converting to Internal TIFF and GeoTIFF raster formats. “Out of range exception – [14]” Explanation The “Out of range exception – [14]” error means that the output file cannot be created because it would exceed the file size limit. The workaround would be to save to Internet TIFF64 raster format. MrSID files are highly compress images and when converted or saved to a different raster image format a large raster image is created. For an example a 715 MB MrSID raster image will create a 27.1 GB Internet ITIFF64 raster image. How to Avoid The Tiff file formats (TIFF, GeoTIFF, iTIFF, etc.) cannot exceed 4GB in size. However, the iTIFF64 format does not have this limitation because it is a 64-bit format and was created to address those cases where users need to create a TIFF based file that is larger than 4GB.
↧
Wiki Page: Raster Manager Level Enhancements
Applies To Product(s): MicroStation Raster Manager Version(s): 08.09.02.XX and newer Environment: N/A Area: N/A Subarea: N/A Original Author: Jason Gingrich, Bentley Technical Support Group Overview Raster Manager The Raster Manager utility gives you the ability to control and manipulate raster images within Microstation. Starting in Microstation XM and continuing in Microstation V8i, raster attachments are treated as any standard element with regard to level-related operations, such as being placed on a level, display, Freeze, Lock, Plot, and Viewport Freeze. New Raster Attachments By default a raster is placed on the current active level when it is attached. This can be changed in Microstation XM at workspace preferences raster manager general Default Raster Attributes. Click in the checkbox next to level to toggle this option on. Then click on the list on the right and all levels in the current dgn file will display. You can choose one of them or select new and enter a new level name. Hit OK to exit the dialog. Now when a raster is attached it will attach to the level you have selected and if the level is not in the current dgn file it will be created when the raster is attached and the raster image will be placed on that level. See the Microstation XM preferences below. In Microstation V8i go to workspace preferences raster manager Default Attributes Set Default Attributes General. Here you’ll find the Level setting. You can click in the list to the right of Level and pick a level in the current dgn file or clear the level listed and type in a new name. See the V8i preferences below. Current Raster attachments for dgn files coming from previous versions of Microstation If you have a dgn file with raster attachments that has never been opened in MSXM or V8i all raster attachments are placed on the current active level. To change this go to workspace configuration and scroll through the variable on the right side to find the variable MS_RASTER_DEFAULT_LEVEL. Select it and click edit. In the New Value field input a level name. If the level is present in the dgn file the images will be placed on it. If the level is not currently in the dgn file it will be created and the attached raster images will be placed on the level. Check what level a raster attachment is currently on There are three simple ways to check which level a raster attachment is on. 1. You can hover your mouse over the border of the image in the view and it will display the image name along with the level name. It will be in the form of LEVEL: Raster, where Raster is the level name. 2. Double click on the image name in raster manager to get the Element Information box for the image to display. In the General section it will list the level. 3. In raster manager there is a column that will list the level for each raster attachment. This column can be toggled on/off in raster manager by right clicking on the title bar just about the attached raster images’ names. The bar will have “file name”, “description”, “logical name”, and other options listed. Right anywhere on this bar to get a list of available columns. Check level and the level column will display. See screenshot below. External Links Bentley Technical Support KnowledgeBase Bentley LEARN Server Comments or Corrections? Bentley's Technical Support Group requests that you please submit any comments you have on this Wiki article in the "Comments" area below. THANK YOU!
↧
Wiki Page: Raster Could Not Be Reloaded in Read/Write Mode
Applies To Product(s): MicroStation Version(s): 08.11.07.443 Environment: N/A Area: Raster Subarea: Original Author: Frank McAllister, Bentley Technical Support Group Problem Description Raster image is attached in a DGN file. When adding levels in DGN file receive message “Raster Could Not Be Reloaded in Read/Write Mode”. Raster images no longer displayed in the DGN file. Can do Undo and then did Redo and levels show up and raster image is attached. Reason The "Raster Could Not be Reloaded in Read/Write mode" message means that the raster image was being forced to be read-only. Steps to Resolve In Workspace Preferences Raster Manager mark Disable Delete Element Tool on Selected Rasters When adding levels in dgn file, make sure to not lock the level or turn the level off that the raster image is on.
↧
↧
Wiki Page: Raster image background color different in DWG and DGN Files
Applies To Product(s): MicroStation Version(s): 08.11.07.443 Environment: N/A Area: Raster Subarea: Original Author: Frank McAllister, Bentley Technical Support Group Problem Description Reason Explanation of raster image behavior in sheet file. The raster was attached in a DWG file. Changing the background color of a monochrome raster image is not allowed in a DWG file, so the DWG file remains compatible with AutoCAD. When the DWG is referenced into a DGN sheet model, it will keep its foreground/background colors. Steps to Resolve Workflow. 1.) The CBA30x42opensheet-Sheet--.dwg file and xgeoff1-13-12.tif file are located in the XREF folder under the parent folder. 2.) The 2900p2.dgn file is in the parent folder. 3.) The CBA30x42opensheet-Sheet--.dwg file and the 2900p2.dgn sheet files are reference attached into the 2900p2.dgn file. 4.) When you open the CBA30x42opensheet-Sheet--.dwg file in MicroStation the xgeoff1-13-12.tif file shows with a white background. 5.) When you open the 2900p2.dgn file the xgeoff1-13-12.tif image shows with a black background. You can click invert button and the TIF image background will change to white. The DWG file is the model file and the TIF image displays correctly in the model file. The TIF image in the sheet file shows a black background instead of a white background like it does in the DWG model file. If the DGN, DWG and TIF image files are all in the same folder the background will show the same background color. The TIF image background shows white in both the DWG and the DGN file. When you open the DWG file the TIF image shows a black background. In the DGN file turn on the level that the TIF image shows being attached on. When you go into the DWG file the TIF image has a white background. When you go into the DGN file the TIF image will show a black background. Click on the TIF image in Raster Manager and clicked invert and the background will change to white. You are now able to go in and out of the DWG and DGN files repeatedly and the settings will not change. The background for the TIF image will stay white in both the DWG and the DGN files. There are two possible workarounds for the user. (1.) If he has that problem with all his monochrome attachments and they are all TIFF files, he can use the MS_RASTER_TIFFINVERT configuration variable. When set to 1, this variable will invert the display of all attached monochrome TIFF files, the raster will have a white background in both the DWG and DGN. (2.) The other workaround would be to use the Invert button in Raster Manager. That would have to be done in all the problematic files.
↧
Wiki Page: Raster Manager V8 [FAQ]
Applies To Product(s): Raster Manager Version(s): V8 Environment: N/A Area: N/A Subarea: N/A Original Author: Bentley Technical Support Group I just installed MicroStation V8 and neither Image Manager nor Raster Reference is available in the menu, have they been replaced? Image Manager and Raster Reference have been combined to create the Raster Manager utility. What is Raster Manager? Raster Manager is the main raster engine that allows the display of raster reference files in MicroStation. Raster Manager provides users with a variety of image manipulation tools, such as warping, image navigation, interactive placement modification, and non-destructive raster clipping tools. Does Raster Manager replace Bentley Descartes' Image Manager? Raster Manager is now the standard default raster engine used in Descartes. Are my existing .PRJ files still compatible with Raster Manager? Two types of PRJ files can be imported in Raster Manager. The files are categorized by the applications that generated them. They are: Image Manager and Raster Manager for MicroStation/J: These applications generated PRJ files versions 2.4 and 7.1, containing standard Raster Manager image settings. Descartes and ReproGraphics for MicroStation/J: These special projects hold multiple color transparency attributes specific to Descartes and ReproGraphics. In MicroStation V8, Raster Manager will not save raster information in project files or create new PRJ files. Instead, all information is stored within the MicroStation Raster Reference (Type 90 element), which is the new standard for raster attachments in MicroStation V8 design files. Here are the existing scenarios when importing PRJ files: With project files already attached to the V7 DGN, Raster Manager will automatically load version 2.4 and 7.1 project files. Descartes and ReproGraphics project files will not be loaded and because the DGN is being imported in MicroStation V8, they will be detached from the V7 DGN. Project files can also be loaded manually with the File Raster Manager Project Import menu. This operation will load all types of PRJ files, no matter which application they originate from. The project attachments (Type 66 elements) will automatically be converted into raster reference attachments (Type 90 elements), therefore the PRJ file will be detached from the DGN. For PRJ files created with Image Manager and Raster Manager for MicroStation/J, you can create the RASTERMGR_PROJECT_READ_ALL configuration variable in the Workspace Configuration menu. If it is set to 0, only Image Manager and Raster Manager projects (versions 2.4 and 7.1 ) are loaded automatically. For projects generated with Descartes and ReproGraphics, create the RASTMNGR_PROJECT_READ_ALL configuration variable and set its value to "1". When set to "1", this variable causes all existing (attached) project files to be read and converted automatically. Both variables can be used for the exact same task, but the variable's name is slightly different depending on the application that generated the PRJ files. Note: All of these operations will cause the PRJ file to be detached from the design file, meaning that a MicroStation V8 DGN exported to MicroStation/J format will not recreate the attachment. The PRJ file must be sent with the MicroStation/J DGN file if it is to be reopened under a MicroStation/J environment. To preserve raster project attachments within your design file, open the DGN in read-only mode in MicroStation V8. Once back in MicroStation/J, you will be able to reattach the project or import raster reference attachments in Image Manager or Raster Manager 7.11. I exported the MicroStation V8 DGN in a MicroStation/J application or in AutoCAD. Some raster formats no longer display. Why is this? Raster Manager for MicroStation V8 now supports more raster formats than in previous versions. When exporting MicroStation V8 DGNs to other file formats, keep in mind that some raster formats might not be supported. Here is a list of unsupported raster formats by application: Image Manager: iTIFF, BIL, GIF, ECW, MrSID, 11-bit TIFs, Intergraph c30, Intergraph c31. Raster Reference: Same list as Image Manager plus HMR. MicroStation/J's Descartes and ReproGraphics: Same list as Image Manager. Raster Manager versions 7.11 and 7.14: BIL, GIF, ECW, MrSID, 11-bit TIFs, Intergraph c30 and Intergraph c31. AutoCAD 2000i: Intergraph formats, BIL, HMR, iTIFF, GeoTIFF, IMG 24-bit (.A), IMG (.P), Sun Raster, 11-bit TIFs, ECW, MrSID. If I have a PRJ file from MicroStation ReproGraphics or MicroStation Descartes that has more than one color set to transparent or translucent, will this be retained when I convert the PRJ file to Raster Manager type 90 attachments? Yes. Multiple color transparencies will be retained when the project is opened in Raster Manager. However, when you re-open this image with more than one color set to either translucent or transparent, you will no longer have the ability to remove or add color transparencies. How many images can be opened with Raster Manager? No limit is inferred by the Raster Manager software itself. Realistically, however, as with any software program, hardware memory and computing power will, at some point, limit the feasibility of opening additional images. Where can I find Documentation about Raster Manager? Raster Manager documentation is now delivered in the MicroStation CHM file that is located in the ..\Bentley\Documentation directory. You can also access this information in the MicroStation Help under the "Raster Manager Guide" topic. How are BIL, GIF, MrSid, RLC, C30 and C31 files supported within Raster Manager? Raster Manager supports BIL, GIF, MrSid, RLC, Intergraph C30 and Intergraph C31 files for viewing and conversion to other supported file formats. These files cannot be used as Save As or Batch Convert output formats by Raster Manager. When I attempt to open some of my Intergraph TIFF or GeoTIFF files, the images are not properly located, how can this be remedied? In older design files created with different MicroStation/J applications (for example I/RASB, and some Geotiff and Intergraph TIFF attachments created with Raster Manager version 07.11.36.38 or earlier), the Raster Attachment found in the design file may give a different georeference than the one found in the Raster file's header. If the file header georeference has to take precedence over the design file's Raster Attachment georeference, it is suggested to use the Workspace Preferences dialog box and enable the "File Georeference Has Priority When Raster Is Loaded" checkbox in the Raster Manager Category. When the design file is closed, then reopened, this will allow the images to place themselves according to the raster file header's georeference and to overwrite the georeference found in the design file's Raster Attachments. Previously, it was necessary to detach and reattach the images to overcome this problem. I have a DGN with many non-georeferenced raster attachments (for example: BMP or JPG). Is it possible to create World files for these images without having to modify their location? Yes. Two key-ins allow you to save location info files (HGR or World files) or plain georeference information directly from your raster attachments to World files or georeferenced file headers, without having to modify the raster locations. Note: The rasters have to comply with these two conditions in order for the operation to work: Files must be in read-write mode (make sure they are not opened in read only mode in Raster Manager). The file format must be one of the output formats that are supported by Raster Manager. The key-ins are: RASTER SAVEALL : Saves all images listed in the Raster Manager dialog box and generates a World file for each of them. RASTER SAVESELECTED : Saves the selected images in the Raster Manager dialog box and generates a World file for that particular raster. To ensure that your World file has the TFW extension, use the following key-in: RASTER DEFAULTSISTERTYPE WORLD Why are TIFF files (with World files) found on the Web not opened at the right location in Raster Manager? The main reason for this problem is that most of the time, these files are in fact GeoTIFF files. World files provide georeference information for applications that do not support the GeoTIFF format. In order for Raster Manager to read the values contained in the World file, simply turn OFF "File Georeference Has Priority when Raster Is Loaded" in the Raster Manager Category of the Workspace Preferences dialog box and enable the "Use Sister File, if Present, for Georeferenced Files" check box to make the World file location values override the geotiff header's location information. Is it possible to customize search paths for image files? Yes. MicroStation handles raster reference paths in a way similar to DGN reference paths. A directory path is assigned to a configuration variable, and this variable may contain as many directories as necessary. Here are the most common ways to use this feature: The MS_RFDIR configuration variable is the default variable to which raster paths are appended. It is controlled by the "Update MS_RFDIR Automatically for Raster Attachments" toggle. If on, the attached raster image paths are automatically appended to the MS_RFDIR configuration variable. The raster attachments will be searched for in the directories named by the configuration variable. If off, the paths will not be appended to the configuration variable and the images will be searched for only in the paths that are already listed in the MS_RFDIR configuration variable. For larger projects, configuration variables can be created in the MicroStation Workspace Configuration dialog box. These configuration variables are stored in user files (.UCF), and they become part of the MicroStation Manager Workspaces. They can also be appended to project files (.PCF) and be listed with the reference DGN search paths. To learn how to format configuration variable entries in workspace files, please refer to the MicroStation Help topics titled "Modifying the Project Configuration File" and "Configuration Variable File Syntax". If your computer is linked to a network, you can either map network drives to the remote system directory or you can use the Universal Naming Convention (UNC) in your search paths. To use configuration variables, in the Attach Raster Reference dialog box (Raster Manager dialog box: File Attach), select the Directory menu and click the "Select Configuration Variable" item, then choose the configuration variable created to contain your raster search paths. The first search path listed in the configuration variable will become the default path to attach your images, and raster attachments will be searched for in all directories listed under the configuration variable. Why does an image open at different locations in MicroStation V8 and MicroStation/J? This occurs when the working units are not properly defined. Raster Manager for MicroStation/J reads the Sub Unit label and matches that label with the one from the units.ini file. As an example, you cannot have kilometers as the Master Unit and inches as the Sub Unit. This problem also occurs if "SU" is used as the Sub Unit label, and the Master Unit label is anything other than "MU". For the HMR and TIF formats, "SU" is equal to 1 meter. If the Master Unit label defines a unit that is smaller than the one defined by the Sub Unit label (MU is smaller than SU), then MicroStation/J opens the image at a different location. There are two workarounds to fix this: Change "SU" for a valid Sub Unit label (m, cm, mm, etc.), that is a Sub Unit label that fits with the Master Unit, and make sure that the value entered for the Sub Unit per Master Unit is valid. For instance, if the Master Unit is feet then the Sub Unit is inches, and the value in the Sub Unit field must be 12 (12 inches per foot). If you want to keep the original SU label, you can edit the units.ini file and assign the proper value to the "SU" label entry. The units.ini file is located under the Bentley\Workspace\System\tables\raster directory. You should keep in mind that the SU label is defined as 1 meter. It is possible to assign any value you want to the SU label, but it must be expressed in meters and it must be defined in the units.ini file under the SU label. For example, in MicroStation, if one SU is to be equal to 1/10th of a foot, you need to convert this value into meters. Hence, you would use the following formula: 0.3048/10=0.0348, where 0.3048 is 1 foot expressed in meters. Thus, the SU label in the units.ini file will be defined as: SU,0.03048. How much disk space will I need to clip a 100MB image? Raster Manager's clipping is done entirely in memory (RAM). When plotting monochrome raster data, how can the background color be set? The following parameter can be used to specify the background color of monochrome raster at printout: Go to the MicroStation File Print Settings Raster Options dialog and set the Monochrome Background list to the required value (White, Black or No Invert). Set the background color directly in the .PLT driver. To set the background color, edit the following variable in the .PLT driver used to generate the plot: BACKGROUND = 0 where 0=white, 1=black, 2=color. NOTE : For the ripwin32_rgb.plt and the ripwin32_gray8.plt drivers, the variable has to be edited in the rip_std_options.inc driver. Refer to the MicroStation Help "Printing Guide Printing Using Raster Manager" topic for more information. After moving and/or scaling raster files, where can I find a Save option to save the new georeference information? Updated georeference data is stored in the DGN type 90 reference. When the image is detached or the design file closed, the georeference information is automatically written in the image header, or in a sister file. To avoid modification of either file, open your images as read-only. To do so, when attaching the raster simply turn on the "Open Raster Files Read-Only" toggle in the Attach Raster Reference File dialog box. By doing so, only the type 90 reference will be updated. How is a raster file saved in Raster Manager? The file is automatically saved when the design file is closed and/or when the raster file is detached. The file can also be manually saved using all the available options with the Raster Manager File Save As menu. In 1-bit images, how are the foreground and background colors managed in Raster Manager? The foreground color is identified by the color index "1" and the background is color index "0". Transparency is set to the background color by default. The weight of each color is irrelevant. Are the contrast and brightness settings saved in the raster file? No. Contrast and brightness settings are stored in the Raster Reference attachment (type 90). Is it possible to set more than one transparent color? Possible values are one single color or all colors. Is it possible to disable the Raster Preview after opening a large raster file to speed up subsequent opening of other images? Use the "Escape" key to halt Raster Preview and still be able to open image files. Loading a 1-bit image with the MicroStation/J background color set to white makes it impossible to view the image because the foreground color is the same as the background color. How can this be resolved? If this problem occurs, simply modify the background or foreground color and the image will appear. To modify the color settings, click the "Show Image Settings" arrow at the bottom of the main Raster Manager dialog box, or choose File Settings Attachment Color from the Raster Manager menu. When clipping, only the vector or raster is clipped. Why is this? Clipping of vector and raster are independent from each other. To clip raster, choose File Clip from the Raster Manager menu. Some images are displayed in black, what can I do to resolve this? This can result from a memory problem: it occurs when there is not enough free space on disk to create the cached files on the drive where the default TEMP file is located. To resolve the issue, delete useless files in order to make room on the drive where the cached files are located. The cached files are found under your computer's temporary directory. How can I specify the location to store cached files? Add the HMRTempDirectory variable to your System Environment variables and set it to a drive/directory combination of your choice. Is LZW compression supported? Starting with MicroStation version 08.05.01.25 and higher, Raster Manager supports LZW compression in TIFF and GIF raster formats. How do I view the default unit for my GeoTIFF and World file unit? It is possible to view or set the GeoTIFF and World file unit under the MicroStation menu Workspace Preferences Raster Manager. Are GeoTiff files using unknown units supported? Yes, when a GeoTiff has an unknown unit, you can set the default values in Raster Manager Category of the Workspace Preferences dialog box under the "GeoTiff Default Unit Label" field. Choose Workspace Preferences. From the Category list, select Raster Manager. Locate the item "GeoTiff Default Unit Label". Enter the required unit label. Click OK. Can I read my World file in different units? Yes, you can set your own units in the Raster Manager Category of the Workspace Preferences dialog box under the "WorldFile Default Unit Label" field. The default unit is set to Meters. Choose Workspace Preferences. From the Category list, select Raster Manager. Locate the item "WorldFile Default Unit Label." Enter the unit label you want. Click OK. Why is the location of my Intergraph files lost when I use the offline raster conversion utility? When converting file formats which refer to a DGN file for georeference information, because "rastconv.ma" operates offline, the utility cannot access the referenced DGN file and the proper creation of Intergraph format output files is impossible. Use Raster Manager's Batch Conversion tool for these formats. What image formats does Raster Manager support? See the chart below: Input/Output supported formats (READ-WRITE) Raster formats supported READ-ONLY Supported Color Modes Supported Compressions Other Features and Options CALS (TYPE1) (.cal) BIL (.bil) 2 Colors (1-bit) BMP RLE8 Sister File Support: HGR and World File Georeferenced TIFF (.tif) ER Mapper ECW (.ecw) 256 Colors (8-bits) CCITT FAX4 Tiled and untiled raster format support HMR (.hmr) Intergraph C30 (.c30) 16 Colors (4-bits) Deflate IMG (.p) Intergraph C31 (.c31) 24 Bit Color Flashpix IMG (24 Bit) (.a) Intergraph TIF (.tif) Grey Scale JPEG Minimum Loss Intergraph 29 (.c29) MrSID (.sid) Monochrome JPEG Low Loss Intergraph CIT (.cit) Compuserve GIF (.GIF) RGB Alpha (32 bits) JPEG Medium Loss Intergraph COT (.cot) RLC JPEG High Loss Intergraph RGB (.rgb) None Intergraph RLE (.rle) PackBits Intergraph TG4 (.tg4) RLE1 Internet TIFF (.iTIFF) RLE8 JPEG (JFIF) (.jpg) Wavelet PCX (.pcx) LZW PNG (.png) BMP RLE4 Sun Raster (.rs) Targa (.tga) TIFF (.tif) Windows BMP (.bmp) 11-bit TIF (.tif) Can Raster Manager create 11-bit TIFF files? 11-bit TIFF files can be opened in Read-Write mode but cannot be created. Once a 11-bit TIFF file is opened in Raster Manager, if any modifications are made to it, the changes have to be saved in another file format such as TIFF 24 Bits or CAL monochrome files. Q: I have added transparency to my rasters, but when I send them to print, either the transparency does not apply or the images do not display. Why is this? A : Only the ripwin32_rgb.plt and the ripwin32_gray8.plt support raster transparency when printing. Refer to the MicroStation Help "Printing Using Raster Manager" topic for more information on the use of different print drivers with Raster Manager. I have created a small MDL program with Raster Manager key-ins and they are no longer recognized. Were any changes made to the syntax of Raster Manager keyins in MicroStation V8.5? Yes. In MDL programming one can send a keyin by specifying the application's TASKID. If the TASKID used to launch the keyin was "REF", it must now be replaced by "RASTMGR" in MicroStation V8.5. The most convenient way to set this parameter is to use the RASTMGR_TASKID define entry found in the ...Bentley\Program\MicroStation\mdl\include\rmdlgids.h file. How can I optimize my image display time with MicroStation 2004 Edition's Raster Manager utility? In MicroStation 2004 Edition, there is a special setting specifically designed to enhance opening speed when attaching an image via a network drive. To enable this feature, you must create the following configuration variable: MS_RASTER_LOADMODE Set this variable to "3" in order to speed up the attach/display operation for any image accessed through a network drive. A cache file will be created on the local drive in the folder pointed to by the Windows Environment variable TMP or TEMP. You may control the location of these cached files by specifying a System Environment variable HMRTempDirectory and setting it to the desired folder on your local drive. If images are opened from a local drive, the default value will optimize speed for local raster files (loadmode is not set in the configuration). See Also Product TechNotes and FAQs Raster Product TechNotes And FAQs External Links Bentley Technical Support KnowledgeBase Bentley LEARN Server Comments or Corrections? Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!
↧
Wiki Page: Rasters are red in the raster manager list. How can I reload them ?
Q: I attached a couple of images and pdf-files as raster in my model. I worked off line so I used a USB-memory . Later on, I moved all the files to my computer and the rasters are now red in the raster manager list. How can I reload them ? A: You have a couple of options here. The first thing Microstation does when you open a design file while there are some raster attached, it goes read into the same path as the design file. If the rasters are there, Microstation will find them. Even if the folder moved from drive F: to drive G: for example. This is the easiest\simplest way to do not have raster red highlighted in the dialog. To have design and raster files in the same folder. Another thing you can do is to manually change the raster's path. To do so, right-click on your raster and select File Name... Select the new path and click OK. But if you have several rasters, it can become quickly annoying. Finally, you can set the configuration variable MS_RFDIR. Simply add the desire "Expansion" (value) - where you raster is stored. Notice that you can define several path where Microstation will search.
↧
Wiki Page: See "3P" Symbol When Attaching WMS Image
Applies To Product(s): MicroStation Version(s): 08.11.07.443 Environment: N/A Area: Raster Subarea: Original Author: Frank McAllister, Bentley Technical Support Group Problem Description When attaching a WMS image in MicroStation – Raster Manager it shows “3P” symbol next to Available Layers. Reason The ”3P” symbol means that the Available Layers window needs to be made larger. Steps to Resolve Put cursor over the line above Map Layer and you will see a shape like a cross. Drag it down and you will see a listing of Available Layers.
↧
↧
Wiki Page: Use An Environment Variable to Define UNC Path For Raster Image Attachment
Applies To Product(s): MicroStation Version(s): 08.11.07.443 Environment: N/A Area: Raster Subarea: Original Author: Frank McAllister, Bentley Technical Support Group Using an Environment Variable so when attaching a raster image it will not matter if a different share drive letter is used when the DGN file with a raster image attached is opened by another user. Background When attaching a raster image an Environment Variable will be used as the folder path, which will show the UNC path instead of the folder path. Steps to Accomplish 1.) Define Environment Variable in Workspace Configuration Variable Name: “Variable Name to be used” (Ex: RASTEST1) Variable Path: “Machine path to be used” (Ex: \\ ”Machine_Name” \test\) 2.) Raster Manager File Attach 3.) Attach Raster Reference On the top right next to the Bentley “B” you will see a folder with a star in the middle Click the folder with the star in it Select Configuration Variable Select the Environment Variable that was defined from the list 4.) Select raster image In raster manager right click on the raster image name and the Environment Variable path name and the raster image name will display. Define the Configuration Variable name on all workstations. If MicroStation and Descartes are used or if custom userspaces are used then the Environment Variable must be defined in both MicroStation and Descartes and all custom userspaces that are used. The Environment Variable will only be valid in the userspaces that the Environment Variable was defined.
↧
Wiki Page: WMS - Error Message "The value of the following parameter is invalid: BBOX - 8041"
Applies To Product(s): MicroStation Version(s): 08.11.07.443 Environment: N/A Area: Raster Subarea: Original Author: Frank McAllister, Bentley Technical Support Group Error or Warning Message Receive error when attaching WMS raster image from WMS server. The XWMS file is created, but WMS raster image will not attach. When doing the attachment receives error: “The value of the following parameter is invalid: BBOX - 8041.” How to Avoid The computer language settings: decimal symbol delimiter default is set to "comma". Bentley software requires that the computer language settings: decimal symbol delimiter default be set to “point". If the West and East limit of the BBOX are set to the same coordinate system user will receive error “The value of the following parameter is invalid: BBOX invalid – [8041]” message when they do Raster Manager File Attach WMS. Possible solution is to open WMS file in the WMS Map Editor, call an event that triggers the recalculation of the BBOX (e.g. change “Range Method” to “Manual” and back to “Use range limits”) then the BBOX is correctly recalculated.
↧
Wiki Page: Bentley Descartes for MicroStation
The articles in this section are for the Bentley Descartes for MicroStation product.
↧
Wiki Page: Raster Image Flashes Off And On
Applies To Product(s): MicroStation Version(s): 08.11.07.459 Environment: N/A Area: Raster Subarea: Original Author: Frank McAllister, Bentley Technical Support Group Problem Description Every time I change/toggle Grid on or off or Unit Lock on or off the raster image flashes off and back on. Is there a setting to stop that or something I can do to stop it? It is annoying and it delays me getting to the next command. Steps to Resolve In Workspace Preference Raster Manager unchecked "Display Raster Using An Independent Process"
↧
↧
Wiki Page: Save Raster Image Attachment Location
Applies To Product(s): Bentley Descartes for MicroStation Version(s): 08.11.07.427 Environment: N/A Area: Raster Subarea: Original Author: Frank McAllister, Bentley Technical Support Group Problem Description User attaches raster images to a design file that has Georeference settings. User does a reprojection of the raster images to move them to correct coordinate system location. The user wants to be able to save the coordinate system of the raster images so they will be attached in the correct coordinate system the next time they are attached in a dgn file. Reason Raster image attachment location will be lost if raster image is detached and reattached in dgn file or attached in a different dgn file. Steps to Resolve Descartes must be used to create the new raster images. Use the following procedure to create the necessary files to maintain the correct coordinate system location if the raster images are detached and reattached in the DGN file or they are attached in a different DGN file. Attach your raster images in Raster Manager and reproject the raster images to the correct coordinate system that you want them to be located. Click on your raster image name in Raster Manager and select File Save As Under Options change Resampled and Reprojected to “Yes” and tell it to create a sister file. Click OK Change the Raster Image Name to a different Raster Image Name (Example: from 325865.tif to 325865_Proj.tif) Save Detach and reattach the new raster image If sister file is not created user will have to double click on raster image name in Raster Manager and in the Element Information box change Geometry Geocoding Inherit GeoCS from Model to “Not Inherited”. The recommended procedure is to create a sister file, which will be used when the raster image is attached in Raster Manager. When attaching the raster images in Raster Manager make sure Workspace Preference Raster Manager Georeference “Use Sister File, if Present, for Georeferenced Files” is marked. It will cause the raster image sister file to be read when the raster image is attached in Raster Manager. If the raster image is being sent to another company or contact it recommended that a Sister File be created and sent with the raster image file.
↧
Forum Post: RE: convert XFM to oracle spatial
I need more suggestions from experts, those who are using Oracle RDBMS or able to try and eventually convert the data to Oracle spatial. Thanks Jun
↧
Forum Post: RE: persistent topology
Hi Michele I installed an earlier version of BentleyMap, with surprise that the tools “topology creation” (Split and merge) works in 3D. In the latest version of Map does not work. Please tell me why is that.
↧