RE: [V8i MDL C++] Getting a BSIColorDescr from an element colour
This isn't really my area, but it would seem like you could do the following: BSIColorDescr* fgColor = nullptr; if (SUCCESS == mdlListCell_getIconColorOverrides(pCell, &fgColor, nullptr) &&...
View ArticleRE: [V8i] and [CONNECT] mdlFileList_edit OR mdlStringList_getMember bugs with...
I have entered a SELECT service request with Bentley support on this issue. Will post the results when they reply
View Article[CONNECT DgnPlatformNet] ScanCriteria.SetElementTypeTest doesn't do what I...
I'm attempting to scan a DGN model using the DgnPlatformNet. I'm using the ScanCriteria Class. When I scan with no filters, everything works and I see all the elements in the DGN model.When I set an...
View ArticleRE: VBA support in the future
[quote user="minion"]my project ended up over 3mb in size[/quote]During the development cycle VBA inflates itself. Your project probably is not really 3Mb, but just looks that way. Since you can't...
View ArticleRE: MDL-Programming v8i-Problem: error C3861: "toolSubsystem_fclose" (Asking...
[quote user="Jon Summers"]If you're building a native-code DLL writting with C++ then use the C++ file API. There's no need to use the old C-style file I/O provided by MDL. C++ is simpler to use,...
View ArticleRE: How to get the coordinates in sheet and in the original model?
Hello Jan, Sorry my codes it too many to show here, the following are the brief codes. sub mycode(Att) Set oScan = New ElementScanCriteria Set oEnum = MyAtt.Scan(oScan) While oEnum.MoveNext'get point...
View ArticleRE: MDL-Programming v8i-Problem: error C3861: "toolSubsystem_fclose" (Asking...
Hi Ines,[quote user="Ines Wieland"]Does it mean, that I have to convert the whole MDL...[/quote]No. In my opinion there are several migration steps and the first one is to convert the code "as is" and...
View ArticleRE: How to get the coordinates in sheet and in the original model?
Based on my testing I think it's not true. As I wrote, API is implemented in "active model coordinates first", so you always receive an element coordinates how they are in active model (even if the...
View ArticleRE: [MVBA]How to get the elements in ref file which shows in the drawing sheet?
Hi Changsong,please don't ask several (very different) questions in one post! It violates the forum best practices.I think you have to implement own test, but it depends on your local conditions and...
View ArticleRE: How to get the coordinates in sheet and in the original model?
I saw the coordinate in of the scaned element, the coordinate number are very large with must be the original coordinate in the ref file. Then I use .GetReferenceToMasterTransform and...
View ArticleRE: [MVBA]How to get the elements in ref file which shows in the drawing sheet?
Please follow the MicroStation Programming forum best practices.Identify Your PlatformPlease identify the version of MicroStation, or other product such as PowerDraft, that you are using: MicroStation...
View ArticleRE: [MVBA]How to get the elements in ref file which shows in the drawing sheet?
[quote user="Jon Summers"]A picture is worth 1,000 words. A DGN file is worth ten pictures.[/quote]Unfortunately Changsong don't want to share anything, in other words everything is done to don't...
View ArticleRE: Determine Range of elements in Reference Where Displayed
Thanks for your response Jan. Some of the points you've mentioned are as I would normally write my code, at this point however the customer has dictated some rules and requirements. I've been through...
View ArticleRE: [MVBA]How to get the elements in ref file which shows in the drawing sheet?
Sorry~Please review the attached picture. This is a referenced sheet. As you can see, some elements are in the range, some are outside the range, and some are partially in the range. I'd like to know...
View ArticleRE: How to get the coordinates in sheet and in the original model?
Without any example data I don't see any reason to continue with the discussion, because it's time wasting activity. With regards, Jan
View ArticleRE: How to get the coordinates in sheet and in the original model?
Hello All, My codes are mixed with many other codes, it is not easy to just show the key codes. I would like to show my codes here to get help from you experts. Sorry. I will try to post my...
View ArticleRE: MDL-Programming v8i-Problem: error C3861: "toolSubsystem_fclose" (Asking...
[quote user="Ines Wieland"]Does it mean, that I have to convert the whole MDL including MDL-Dialogs into C++?[/quote]No. My intention was to highlight the folly of attempting to implement an outmoded...
View ArticleMDL-Programming v8i-Problem: error C3861: "toolSubsystem_fclose" (Asking for...
Hi,I am trying to convert old MDLs to new Version v8i, but when I compile it with bmake I get error-messages like: error C3861: "toolSubsystem_fclose" orerror C3861: "toolSubsystem_fprintf"In the...
View ArticleRE: How to get the coordinates in sheet and in the original model?
It's not about your code, because you don't ask "what does not work in my code", but about data, because you ask "how to do <something>". Code is helpfull, but not the most important. To share...
View ArticleHow to get the coordinates in sheet and in the original model?
Hello All,Normally we create a callout in model and attach it in sheet, I 'd like to know the coordinates in sheet and in original model. Any suggestions? Thanks a lot!
View Article