Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Browsing all 7260 articles
Browse latest View live

RE: V8i SS2 VBA stdmdlbltin.dll

[quote user="minion"]I would like the dialog boxes to be modal[/quote]The mdlDialog_xxx functions Jerry mentions in chapter 19 of MicroStation VBA are all modal, as far as I can see.  What dialog in...

View Article


RE: [V8i MDL] Saved View name length

Correct, mdlView_saveNamed and associated mdlViewInfo_setName have a 512 MSWChar limit when creating/setting the saved view string linkage name. HTH, Bob

View Article


[V8i MDL] Saved View name length

mdlView_saveNamed() takes a name and description for the saved view.  No mention is made of the maximum length that the function will accept for those strings.In msdefs.h I found these macros...#define...

View Article

RE: [CONNECT C++] Changes to mdlView_pointToScreen from SS3

Ok, that's good at least; because that code snippet is essentially what we are using to position our locate balloon window, which means that mdlView_pointToScreen probably isn't the problem. Can you...

View Article

[CONNECT C++] Changes to mdlView_pointToScreen from SS3

In porting some code from V8i to CONNECT, I utilize mdlView_pointToScreen() in obtaining the location of the cursor and send it to a windows tracking tooltip:void UpdatePosition(MstnButtonEventCP ev) {...

View Article


RE: V8i SS2 VBA stdmdlbltin.dll

mdlDialog_fileCreatemdlDialog_fileOpenMaybe I'm just usin it wrong.  Here's some of my code.Public Function CreateReportFile(ByRef ReportName As String) As Boolean 'RETURNS TRUE IF SUCCESSFUL...

View Article

RE: V8i SS2 VBA stdmdlbltin.dll

Hi minion, I tested your code (just copy and paste plus necessary minimal modifications) and Create Report File dialog is modol. Tested with MicroStation V8i (SELECTseries 4). To be sure we are talking...

View Article

RE: v8i cadastral lot labeller -help

Hi Tom,I checked your code very quickly (before another crazy busy day will start ;-)[quote user="Tom"]The coding is quite long...[/quote]No problem, it's not so long. Bigger problem is your code is...

View Article


v8i cadastral lot labeller -help

I have been working on a macro to assist with parcel labels (adding bearing / distance / arc dimensions / rounding etc) with a userform to select options and scale for dimensionsI have noticed a few...

View Article


RE: V8i SS2 VBA stdmdlbltin.dll

Hi Jan, Sorry about needing to mod the code. I guess I had some constants in there that I didn't provide. Yes. You are describing exactly what I mean by modal. My installation allows me to access other...

View Article

RE: V8i SS2 VBA stdmdlbltin.dll

Hi Minion,[quote user="minion"] My installation allows me to access other windows and things when the dialog is active.[/quote]What does it mean? This is pretty fuzzy information. How to "access"?I...

View Article

V8i SS2 VBA stdmdlbltin.dll

Hi,In chapter 19 of the Jerry Winters book, he goes over using functions in this library to open and create files with a built-in dialog box.  It works great, but I would like the dialog boxes to be...

View Article

RE: [CONNECT C++] mdlWindow_nativeWindowHandleGet

Does mdlNativeWindow_getWindowHandle work any better?

View Article


RE: [CONNECT C++] mdlWindow_nativeWindowHandleGet

Hi, Is mdlDialog_overallTitleBarGet actually returning a non zero value ? You could try mdlNativeWindow_getMainHandle instead. Paul

View Article

RE: v8i cadastral lot labeller -help

Thanks Jan. I understand this, but do not know how to implement the math. Can someone please have a go at this? Did you have any thought on the other issues?

View Article


RE: [C++ V8i] Replicating the Facet Curve - Equal Chord Length method

It looks like the Facet Curve tool is also just calling mdlBspline_computeEqualChordByLength for it's chord length method. Do you have a closed curve by any chance? The Facet Curve tool first opens...

View Article

RE: [CONNECT - AddIn] Place cell from cellibrary

Thank you very much for your reply Jon.I've added the following lines to my code:bool sharedCellDefPresent = false; SharedCellDefinitionCollection cellDefColl =...

View Article


RE: v8i cadastral lot labeller -help

Hi Tom,[quote user="Tom"]but do not know how to implement the math[/quote]This is the core of any 2D/3D vector programming, not specific to MicroStation. So if your aim is to be able to write VBA...

View Article

RE: v8i cadastral lot labeller -help

The purpose of this Programming Forum is to help people solve problems.  You post some code that doesn't work, we attempt to tell you what's wrong with your code.[quote user="Tom"] Can someone please...

View Article

RE: [CONNECT - AddIn] Place cell from cellibrary

[quote user="EvanH"]I've tried to create a new designfile just to check if something has happened with the original test file[/quote]A wise move!  We programmers move in mysterious ways, often...

View Article
Browsing all 7260 articles
Browse latest View live