Re: [V8i-VBA] Enable/Disable AutoCAD units and work mode dialogs
Assuming you are writing an MDL program, you can access the CExpression variable dwgOpenGlobals.flags.disableUnitsDialog published in dwgsettings.ma. Keep in mind that this is the very variable that...
View ArticleRe: [V8i-VBA] Enable/Disable AutoCAD units and work mode dialogs
Don Fu:Assuming you are writing an MDL program ...With VBA, use GetCExpressionValue. For example … Dim vtDisableUnitsDialog As Variant Const MdlAppName As String = "dwgsettings"' Get value of app....
View ArticleRe: RasterManager.Rasters.Attach issue
Hi, I have tried to use your code to reproduce the issue without success, thought I needed to comment out a couple of things I didn`t have. Have you tried isolating the error? For instance are you able...
View Article[V8i MDL] LineStyle scale problem
Hello,I am trying to change LineStyle scale of elements with <not found> line style, but it does not work.This is what I do: StyleParam ls_sp; char ls_name[LS_MAX_NAME]; if (SUCCESS ==...
View ArticleRe: [V8i MDL] LineStyle scale problem
The call to mdlElement_setLineStyle (&edP->el, ...) is likely changing the element size, the linestyle linkage isn't a fixed size...the modifier flags control what is saved so turning on a...
View ArticleRe: Trapping error with TagDefinitionName
Hans - I received your service request. I will investigate the issue and will report my findings to you as soon as possible.Thank you,Bob
View ArticleMDL using C++ VS. MVBA
Hello,I've been creating program in MVBA and I'm trying to learn MDL using C++ however, I'm confused on their means. What is the difference between MDL and MVBA? Is there something that MDL can do...
View ArticleRe: Microstation V8i SS2 - autobreak lines
@Lorys 1) I already tried masking it before and our client didnt liked it.2.) We do have the celltool qnd does work, however even if I turned on Grid Snap still it doesnt accurately point to the grid.
View ArticleRe: Microstation V8i SS2 - autobreak lines
It looks like your question is about MicroStation usage rather than MicroStation programming.You will get more answers if you post your question to the MicroStation Forum.On the other hand, if you want...
View ArticleRe: MDL using C++ VS. MVBA
MicroStation Development LanguagesThis article discusses MicroStation Development Languages.Aldrin Almia:I'm trying to learn MDL using C++Are you already fluent with C or C++? If not, you've chosen...
View ArticleRe: [V8i MDL] LineStyle scale problem
Following still does not work, mdlElement_setLineStyle does not return SUCCESS:also element size increasing did not help: elem.ehdr.elementSize += 4;StatusInt dpElmdscr_setLineStyleScale(...
View ArticleRe: [V8i MDL] LineStyle scale problem
DanPaul:Is there any line style exists check?mdlLineStyle_nameQuery may do what you want.
View ArticleRe: [V8i MDL] LineStyle scale problem
Jon Summers:DanPaul:Is there any line style exists check?mdlLineStyle_nameQuery may do what you want.Sorry, I meant whether there is any 'line style exists check' inside of mdlElement_setLineStyle...
View ArticleRe: MDL using C++ VS. MVBA
Hi Aldrin,my personal addition to Jon's answer...In my opinion the right question is not "MDL or MVBA and how they differ", but as Jon mentioned, "What is your programming horizont?" ... in other...
View ArticleRe: Trapping error with TagDefinitionName
Hans,Upon debugging the problem raised by element id 122532 the Tag element is missing a required 2nd dependency linkage to identify the owning TagSet (dependency_appid.h:60: ......
View ArticleSetting up a range for use with...
Hi all, In my move from V7 -> V8 I'm in the process of changing mdlScan_* to mdlScanCriteria_*. I seem to have a bit of a problem with setting ranges to scan. The data that this app uses is a...
View Articlecreate textnode element with differing line justifications
I am trying to create a textnode element using vba that has 2 lines of text. The lines have different justifications, and the 2nd line needs to be placed a certain distance below the first (maybe a...
View ArticleRe: create textnode element with differing line justifications
Could you please provide any example DGN which contains such element?
View ArticleRe: create textnode element with differing line justifications
Stephanie Doherty:I am trying to create a textnode element using vba that has 2 lines of text. The lines have different justifications, and the 2nd line needs to be placed a certain distance below the...
View ArticleRe: Setting up a range for use with...
Bluey The Dog: In my move from V7 -> V8 I'm in the process of changing mdlScan_* to mdlScanCriteria_*A wise decision!Bluey The Dog:rangeToCheck.org.y = (double)0x80000000;rangeToCheck.end.x =...
View Article