Re: VBA wont load - Microsoft Office 2013 compatibility problem?
Hi jwl,I would say your IT Dept should be there to help you resolve the issues. My suggestion is have them get 'Prerequisites for Bentley Desktop Applications' from Bentley Select downloads. Logon to...
View ArticleRe: [v8i VBA] Pooled or nodelocked license check
Hi Oto,I don't find a configuration variable or VBA (even MDL) method to get the checkedout state of a product. But we do have a command line license tool named LicenseToolCmd.exe which can list all...
View ArticleRe: [V8i VBA & MDL] Passing Arguments to MDL Command from VBA
Thanks DanPaul. It works well. I tried with Char *. not worked.but char[] with fixed size is working.Jon, I forgot to mention that I'm loading the mdl once and calling the commandin a for loop with...
View ArticleRe: Stack problems in native code with mdlPattern_hatch() function
Hi Dan,Thanks for your test. Yes we invoked exception catching, ie. AccessViolation. The visible call stack in VizStudio gives no hint to any application program line - there are only ustation.dll...
View ArticleRe: [v8i VBA] Pooled or nodelocked license check
As an aside to what YongAn suggests, could you describe the problem you are attempting to solve? IOW, is there a particular reason why you need to do this? There are other non-programatic things you...
View ArticleRe: Stack problems in native code with mdlPattern_hatch() function
WilliI decided (some years ago) to use exaclty 1 global MSElementUnion after it's size grew up to 128k. As we have a very small amount of stack size this might lead fastly to overflows. After that...
View ArticleRe: [2004 MDL] edge match
fig:1fig:2ok let me define my problem through this figures.fig1 is the main fig which contains the numbers of linestring which are snapped together.In fig 2 the green line incicates that the linestring...
View ArticleRe: [2004 MDL] edge match
sagar:Let me define my problem through this figures...As I may have mentioned elsewhere, a low-resolution low-contrast screenshot is not the best way to illustrate your requirements. We all use...
View ArticleRe: [VBA] GetPicture from element
Thanks Jon,I tried some different versions of Microsoft Common Controls but I still get the same error.I drop the idea to use ImageList with GetPicture feature since my program must run on Win XP,...
View ArticleRe: mdlState_startPrimitiveAndSetPopupMenu() - how to find out if it is...
I think you missed some technical understanding. mdlState_start... does as first thing stop any previous command. if cleanup-functions are installed those are called and anything else is reset. Right...
View ArticleRe: Macro to change line styles in reference
are you using overrides of the ref file in active drawing model file ?or do you want to open the ref file and edit the actual line weights?do only want this at print time ? then you could just use a...
View ArticleSS3 toolsettings dialog cannot be adjusted
Hi to all,the SS3 toolsettings dialog appears much too big - and cannot be adjusted.Even every start primitive command (while toolsettings is opened) leads to a wider Dialog. Simply clicking the same...
View ArticleRe: SS3 toolsettings dialog cannot be adjusted
And if you remove the menu (or replace it with IconCmds? Does it still expand? Regards,
View ArticleRe: SS3 toolsettings dialog cannot be adjusted
Hi Mark,the dialog is inside a CmdItemListRschere is the resource definition of it.(all TXT_... entries are dynamically exchanged to the current language when the dialog gets startet) DItem_IconCmdRsc...
View ArticleRe: SS3 toolsettings dialog cannot be adjusted
Hi Mark,if we remove the menubar the dialog does not expand. This is true. but we have many hundreds of these dialogs including menubars. Our complete help system is based on it.So changing all...
View ArticleRe: Stack problems in native code with mdlPattern_hatch() function
Hi Michael,thanks for this hint - reducing use of MSElementUnion variables was the point...Thanks,Willi
View ArticleGetting selected subelement in Cell
I can get the selected elements in a dgn by using GetSelectedElements.What I want is, when the user selects a cell, then in the Element Information treeview, selects a subelement of that cell, how do I...
View ArticleRe: Getting selected subelement in Cell
Hi Bert,there is no public API to Element Information dialog, so if you want to have own "Cell Content Explorer", you have to create your own one.Alternatively, you can try to reference elementinfo.dll...
View ArticleRe: Getting selected subelement in Cell
Hi,I do something with MultiLines, and it's not exactly what you want, and it's in vba, but here a tid-bit of code: Set ScanEnumerator = TempElement(0).AsDroppableElement.Drop Do...
View ArticleRe: Getting selected subelement in Cell
element info is normal .NET dialog with modified .NET controls, so you can use Reflection to analyze it and determine what you need... You should find a PropertyGrid control which contains property...
View Article