Re: ISSD in Microstation V8i
The only thing I could imagine is the usage of a 'named expression', which might decide if the application is loaded. I use this to show tasks, depending on the fact of a loaded mdl. The main point in...
View Article[VBA] Need help with MDL Wrapper Function for mdlSheetDef_setBorderAttachmentId
The documentation when followed generates the following error message:Bad DLL calling convention (Error 49) While this error has a help page, it does not explain any specific corrective action that can...
View ArticleRe: [VBA] Need help with MDL Wrapper Function for...
I guess the approach would something like this … Declare Function mdlSheetDef_getBorderAttachmentId _ Lib "stdmdlbltin.dll" ( _ ByVal sheetDefIn As Long , _ ByRef borderAttachmentIdOut As DLong )...
View ArticleRe: [VBA] Need help with MDL Wrapper Function for...
If I set the border attachment to a reference file, your code returns success. With no border reference, it still returns success but the debug.print statement prints -1 as the IDIf I then try and use...
View Articleread a dgn/seed file in microstation vba without opening it
Hi,I have to write a small vba that will check dgn files, to see if the levels inside will match those from the seed file. Is it possible to read the seed file (to get the level names and properties)...
View ArticleRe: read a dgn/seed file in microstation vba without opening it
To access information that is contained in a file... even to interrogate that information, you need to open it. That said, is it an accurate statement that you are looking to not open the file in a...
View ArticleExport coordinates from elements (cells)
Hello, Is it possible to export a list of coordinates from elements (cells). Coordinates are in this case based on a grid drawn on the dgn and not the effective Microstation coordinates. I would like...
View ArticleRe: Export coordinates from elements (cells)
You haven't told us, which programming language you like to use. You may always find a way to implement what you want, the difficulty depends on the exact preconditions. How do you want to identify the...
View ArticleRe: Export coordinates from elements (cells)
There are two questions here...How do I export cell origin coordinates?How do I convert MicroStation XY coordinates to another representation?Divide and conquer! Write a macro to export cell...
View ArticleRe: Export coordinates from elements (cells)
Hi Michael, hi Jon,The reason for this list is simple but quite useful .An example of where I would like to automatically create a list :For emergency cases all rescue equipments are drawn on layout...
View ArticleRe: SetCustomProperty Question
Good afternoon,When setting custom properties in a DGN (using SetCustomProperty), What is the maximum length a string could be?Thank you.
View ArticleRe: read a dgn/seed file in microstation vba without opening it
As Phil suggests I would try Standards Checker first. If that doesn't work for you then I would develop the vba as follows.1. Start with the file to be checked open in MicroStation.2. Attach the...
View ArticleRe: read a dgn/seed file in microstation vba without opening it
Yes, this is a good idea and will work for me.Thank you very much,e.g.
View ArticleRe: SetCustomProperty Question
I see no practical limits imposed on the length of Microsoft's FMTID_UserDefinedProperties PROPVARIANT VT_LPWSTR modified using the IPropertySetStorage API.What type of information are you trying to...
View ArticleRe: Mouse Setup VAB routine
Without causing a problem for anyone. Where in the actual program will the last statement above be placed?Public Sub UserPrefSetItemLongValue(sItemAccessStr As String, lValue As Long)...
View Article[v8i VBA]
Hi All,I need a clarification about Tag editing using VBA. My question is, Is it possible to Rename tag definition in a tgaset?For e.g. In a Tagset called GS01 i have a tag definition Obj now I need to...
View ArticleRe: [v8i VBA]
Please be more detailed with your posts title!Your questions was answered several times here, please use the search function of the forum.
View ArticleRe: [v8i VBA]
Prasanna Katarki1:Is it possible to rename tag definition in a tag set using VBA?Almost, but not in a way that would satisfy your users. The problem with using the VBA methods is that, in the process...
View Article[v8i VBA] Referencing embedded Excel
Programming with VBA in Microstation and wondering if there is a way to reference an excel worksheet embedded in microstation so I can input values into it.Any help would be appreciated.
View ArticleRe: [v8i VBA] Referencing embedded Excel
joelmck:Is there a way to reference an Excel worksheet embedded in MicroStation?Object Linking and Embedding (OLE) is Microsoft technology. There is little help from Microsoft about your question —...
View Article