• [CE U16 C#] Read all references (nested also) and their respective file location

    Dear Community, I am trying to read all references including the nested ones from a DGN file. However, I always end up with only first-level references and I can not go deeper. Here you can see one pice of code that returns only the first level references…
  • Macro for load references in project wise

    Hi, almost 20 years ago with MS J there were a macro that once activated pushing a button (F1) it open a window, you could select references according to a logic. similar to the picture any of you have some idea how to create?
  • Created Macro to Replace and ReAttach references not working

    Hello, I am trying to create a macro that will REPLACE one reference file with another for over 100 sheets. I'm doing this because I copied all of the sheets and renamed them, and everything else remains the same except for that one reference file.…
  • RE: [AECOSim Building Designer V8i - VBA] - "Place Wall"

    Unknown said: How could I refer the TFCom and STFCom? If you're writing VBA, then use the Tools|References menu in the VBA editor to pop the VBA References dialog. Then you can add the VBA libraries to your VBA project ...
  • copy element from reference file in vba

    I am attempting to write a vba that will allow us to copy a piece of text from a border reference into the active file. The project needs to be turned in with all the text in the sheet file. I copied some code from a google search and for the most part…
  • Re: Solar vector

    Thanks for that! I was going to wrap the sun on/off into a solarToggle function, and the setup into a solarSetup function so that there is a fairly fine level of control. With this code: /// <summary>Returns a point defined by the current solar…
  • Merge Reference File

    Hi, I search the commands to in MDL merge the references files to the master file. Could you help me? Thanks, Eric
  • Re: Reference File Attach problem

    Jacek: Hi everyone. I have a problem with the the'mdlRefFile_attachCoincident' function. The dgn file is being connected with the'mdlRefFile_attachCoincident' function, later it is being disconnected with 'mdlRefFile_detach' function and the application…
  • Ref Clip in VBA - can't figure out why this code does not work correctly

    I am trying to clip a reference file from VBA. From other VBA threads I have found out how to call mdlRefFile_setClip and how to use a Long as a pointer in VBA. I have also gotten my code to draw a shape at the coordinates where I want to clip the…
  • Re: Ref Clip in VBA - can't figure out why this code does not work correctly

    Jon, Thanks for your response. It turns out that the answer to my question was in Mark Anderson's origjnal posting and I had just not read it closely enough. The code which works correctly, which is as it is now, is: pnts(0).X = (lowerLeftPt.X …
  • Re: Remove reference path for rasters

    Yes, that's correct as far as I know. But a temp security glitch meant that a user was able to mess about with our standards.cfg with: MS_DISALLOWFULLREFPATH = 0 MS_DISALLOWRELATIVEREFPATH = 0 which allowed the full path to be inserted. Horrors…
  • Remove reference path for rasters

    Everyone, We have a problem that we have some files which have many "hard-referenced" raster files have been attached. I need to suppress the original location so that MS_RFDIR can supply the location. As an intermediate step, I am trying to change…
  • Accessing an attachment's Element's Level in VBA V8i

    Dear All I have been struggling to use MIcrostation to get a referenced element's level properties in VBA: I first use ILocatePrimitive to locate only referenced elements to be located. I would then like the Element.Level…
  • Re: How to create a cell element by some cell elements?

    Since a Cell Library is a Design File with a .cel extension, open the Cell Library file for editing in MicroStation. Create a new Model then reference the two other existing Models to that New Model..arrange to suit. Then when you attach…
  • How Merge Reference File with MDL

    Hi, I search the MDL method to merge reference files into the mater file. Could you help me? Thanks, Eric
  • How to set pcf config variable path to "Computer" - where all network drives are listed...

    I am a novice when it comes to configuring microstation, so bear with me. I want to set the MS_REF_DEFAULTATTACHDIRECTORY = "to the root directory where the users sees any hd drives attached to his computer, plus any network drives that connected. I tried…
  • resource to show a jpg??

    hi again.. i need help again... i must compose a window like this (vb6 generated) one http://lh5.ggpht.com/_db1SZJ4YlKc/SUt-po4TXnI/AAAAAAAADok/0aDqTiGdm7w/logomicrosoft.jpg i have a groupbox, three text, one optionbutton, three pushbutton, and…
  • Re: How Merge Reference File with MDL

    Do you know the command "mdlElmdscr_fromReference (MSElementDescr **ppOutputDescr, DgnModelRefP destModelRef, DgnModelRefpP sourceModelRef, BoolInt createCell, int options, int view)" ? I don't find documentation. She seems interresting becaude…
  • codes for fields in attachment method "interactive"

    Hello out there! I got the task to write a little programm which draws simple diagramms in Microstation faster. So I began to learn VBA and Microstation. I'm almost at the target but now I need the help of experienced users like you. When…