Re: [v8i C] Clearing ComboBox contents
Ahmet Sedat ALIS:dbP = rihP->ownerDialogP;Why do you need the owner dialog? You already have a pointer to the dialog where you found that dialog item. They may be two different objects.
View ArticleRe: [V8i c++] Change All Text Elements with One Style to Another Style
Thanks Jon, for your anwser, I use "mdlTextStyle_getTextParamWideFromStyle()" instead of only assigning the new Text Style ID. Seems to work fine.
View Article[C++, V8i]Can I add XAttr to namedgroup element ?
Hi All,I use the following code to add XAttribute to a named group element. But seems no success. I am unable to check named group element in Element Information dialog, so it is difficult to verify if...
View ArticleRe: [C++, V8i]Can I add XAttr to namedgroup element ?
xue yulian:I am not sure if I need to call AddToModel after calling ScheduleWriteAttribute ?Are you editing an existing element, or creating a new element?xue yulian: I am unable to check named group...
View ArticleRe: [C++, V8i]Can I add XAttr to namedgroup element ?
I am editing an existing namedgroup element. I found use AddXAttribute can implement my task.So for just creating element (have not written to model), we should use ScheduleWriteXAttribute, for...
View Article[v8i SS2] General Programming Knowledge
In VB6 we practice to use Class Module and Module for our functions.Now, in MVBA/macro I noticed that it is only using Module or Code Module.What would be the difference if we use class module for...
View ArticleRe: [v8i SS2] General Programming Knowledge
RJ,you refer to the macro recorder, right.Under certain circumstances it will create class modules as well.Class modules refer to object oriented code behaviour. There is no difference between a class...
View ArticleRe: [v8i SS2] General Programming Knowledge
RJ:Sorry for asking this little thing.No, such specific and clearly formulated questions are great and they can be answered quickly (usually ;-)!RJ:What would be the difference if we use class module...
View ArticleRe: [v8i SS2] General Programming Knowledge
Jan Slegr:But VBA is object oriented languageNo, VBA (as its parent VB5) is not Object Oriented, but it is Object Based language.Sure, there are some contradicting parts in articles, but while language...
View Article[V8i C++] Losing My Mind in Function To Read Cell
"All of a sudden"...I've been using some "template" code to read a cell into an ElementDescr, and now it's failing. Don't know why. I've got a "workaround", but it just bugs me that "it used to...
View ArticleRe: [V8i C++] Losing My Mind in Function To Read Cell
Bruce,just guessing, because we use mdlCell_getLibraryObject() in the same way.Try to replace slash by dobble backslash"\\\\Server\\testing\\standards\\cell\\isopipe.cel"HTH
View ArticleRe: [V8i C++] Losing My Mind in Function To Read Cell
DiagnosticsWhat is pCellname? As an argument we know it's a char*, but what does it point to?If you remove the call to attach the cell library, do you get the same result?Is this a Debug or Release...
View ArticleRe: [V8i C++] Losing My Mind in Function To Read Cell
I tried replacing the slashes. The intial test looked like it solved the problem, but what really happened was the first call into the function worked as expected, but then the subsequent calls are...
View Article[VBA]- V8.05.02.35
I have a strange problem with the following code. This code is a subsection of routine I have that looks for a rectangle with group name plot. (I copied it from another user here). It then gathers the...
View Article[vb.net] height and width of Text using CreateTextNodeElement2
Hi All,I am new Microstation programming using vb.net. I want to know how to set height and width of Text using CreateTextNodeElement2...Can any one help me ?Thanks in advance...
View ArticleRe: [VBA]- V8.05.02.35
rlb1130:CadInputQueue.SendKeyin "PLACE FENCE ICON "I would abandon those key-ins. You have all you need to create a fence using the point array you build from the elements of interest.Get a Fence...
View ArticleRe: [vb.net] height and width of Text using CreateTextNodeElement2
Sakthi S:I am new MicroStation programmingWelcome!Sakthi S:I am new MicroStation programming using vb.netI recommend that you start by using MicroStation VBA. It's part and parcel of MicroStation, and...
View Article[V8i VBA] Measure Distance Total
Greetings everyone.I am making a macro utility for my department that will automate nearly everything that we do with creating maps. I am having some difficulty with figuring out how to go about this...
View ArticleRe: [V8i VBA] Measure Distance Total
It is smple to do this by MDL as below. You can implement it by calling these MDL functions in VBA but not straigtforward. DialogBoxP dbP = mdlDialog_getToolSettings(); if (NULL == dbP)...
View ArticleRe: [2004 MDL] Help comparing the points.
Thanks Jan and Dan for your help.is it possible to count the numbers of joints/endpoints?as there is 'count' function in C.I want to count the endpoints in entire DGN files.regardssagar..
View Article