How can i create a ComboBox like the System Tools->Attributes->Active Level...
I used mdlLevelList_getLevelNamesWithAttributes to get the level listmodel,and passed it to my Combobox.The problem is when i use mdlDialog_comboBoxSetPopupState to make my ComboBox dropdown listbox...
View ArticleRemove Element Permanently ( Removed Element Must Not display even if user...
Hi Guys,Here is my code for deleting the element.mdlElement_read(&MsElm,MASTERFILE,*FilePos);mdlElement_undoableDelete(&MsElm,*FilePos,TRUE);Working Fine, deleting the specified File...
View Article[V8i] How can I Compare the direction of two lines.
Hi!I have two lines to compare direction.( to check two line go same direction or not.)I made two Ray3D objects from the lines like below.Dim oRay_Cell As Ray3dDim oRay_Line As Ray3doRay_Cell =...
View ArticleMDL application to Develop
Hello,I would like to ask if it is possible to create an application where in there is a dialog box having buttons and when I click that button it has a process where made from MVBA Macro converted to...
View Article[V8i] VBA TextNodes
How can I find the total number of line in a text node? In the code below, I am scanning the first line on a textnode and if the text matches, it is added to the display set. But what if the text is on...
View Articleconverting mdlArc_createByPoints to vba CreateArcElement2
I am rewriting an mdl application in vba and got stuck when trying to substitute CreateArcElement2 for mdlArc_createByPoints. Is there some math guru out there who can tell me how to calculate the...
View ArticleMDL project "basic" extension files
Hello,I would like to create a dialog box and I used basic as guide or an example however , I'm confuse of the two files which are .mc file and .cpp file. From the delivered examples of SDK, all...
View ArticleMDL Error running basic from SDK
Hello,Before, I was able to run basic however, when I modified its contents I encountered error. After getting error I deleted the one I modified that has an error and replace the original basic. When...
View ArticleVBA: View Display setting of a reference attachment Level
Is the View Display setting of a reference attachment available through VBA somewhere? I want to know whether a Level of an Attachment is shown in View 1 or not. In the Attachments I can Find Levels...
View ArticleChange the text color in v8i
Hi friends, I migrated the code from V8xm to V8i and compiled the code successfully but the text color is not changing in the string list.I have mentioned the code below....
View ArticleSet Element Transparency ( Microstation V8i Using C# .Net Language)
Hi Guys,Requirement : Scan all shape elements(polygons) in active dgn and then make them fill and set transparency.(Fill mode on off)buy using below code i am giving 30 percentage transparency (...
View ArticleVBA to Load Key-in Command
I wanted to setup and F Key, which I do know how to do. Only I wanted one to load the Key-in. I know the Utilities, pull down and the top item is Key-in When I use that it is fine and the courser is...
View Article[V8i VBA] Raster - How do you access the Raster Attachment Aspect Ratio...
I need to access the Raster Attachment "Aspect Ratio" and change the property from locked to unlocked.Does anyone know how to change the Aspect Ratio property using VBA?So far I haven't been able to...
View Articlehow to Implement the stitch function in MDL application
the MS has the function of stich surfaces, keyin"construct stitch"".now i want to do this in my MDL application, but i can't find useful functions.as the pic shows, there are 15 shapes, i want to...
View ArticleCreate Region Flood
Hi Guys,By using the Keyin ( Create Region Flood ) we can create and add shape at closed locations.Please find the attached Image.In this image you can see the dgn having more number of closed areas.So...
View ArticleHow to cut solid by surface in MDL application
MS has a tool "Cut Solid by Curves".I want to cut solid using a surface in my MDL application.which function i supposed to use?Will mdlKISolid_trimByEdgesAndFaces be useful in this case ?as the pic...
View Articleprocessing only snapped elements with a polygon
Dear All,I need to process only those elements where the ends (start point or end point) are exactly snapped to a polygon. Could you please help me to achieve this.Regards,K.JAYAKUMAR
View ArticleStart Microstation from vba with user and workspace?
Hi all,I am trying to launch Microstation from an external program using Visual Basic.How can i define the user and the workspace that i want to launch Microstation in ?so far i have this:Dim BMAPP As...
View ArticleStart Microstation from vba with user and workspace?
Hi all,I am trying to launch Microstation from an external program using Visual Basic.How can i define the user and the workspace that i want to launch Microstation in ?so far i have this:Dim BMAPP As...
View Article[V8i SS2] Error when loading dll for MDL.
Hi experts.Has anyone encountered error below? This dll is ok when run to my pc but when running this on a newly reformatted pc, this error is encountered.Is there any prerequisite that needs to be...
View Article