Re: STATE_TENTATIVE_LOCATE does it still exist?
Bluey The Dog:Has the user function signature changed? By the way, where are the signatures of the various user functions documented?Good questions!Bluey The Dog:Thanks for the suggestion, but it does...
View ArticleRe: STATE_TENTATIVE_LOCATE does it still exist?
It doesn't appear that a STATE_TENTATIVE_LOCATE function will ever be called. This is likely because it requires an MSElementDescr representing the "snapped" element/component element and we no longer...
View ArticlemdlParams_getActive( )
I'm calling mdlParams_getActive( ) to get the active color, etc. I know if the value is -1 than it's the assigned ByLevel color. What I need however is the actual color, line style,and weight. Ideas?...
View ArticleRe: error in MKE file
First it does not appear that you are including MDL.MKI (the default build rules). Next if you do not have VisualStudio 2005 then you need to add the command line define BUILD_USING_NOTOOLSET (and do...
View ArticleRe: mdlParams_getActive( )
If you get a BYLEVEL id back then you could look up the active level and use the mdlLevel_getElementSymbology to get the information.HTH,
View ArticleRe: STATE_TENTATIVE_LOCATE does it still exist?
Could the issue be that the button assignments are still set to the default for V8i? That being that the middle button is not a tentative but a middle button pan. You can test by trying the two button...
View ArticleRe: STATE_TENTATIVE_LOCATE does it still exist?
Brien, Do I take it from your comment about Elm Dscr's that V7 -> V8 the underlying tentative behaviour has changed? If so, then as far as I'm concerned, this functionality can die.Thanks everyone...
View Article[V8i C++] Tool Cleanup and Unloading
As more and more of our custom tools are used, the list of loaded MDL apps grows quit large, as most of them are CmdItemListRsc tools. Is there any way to unload these automatically? For example, when...
View ArticleRe: [v8i VBA]How to check a polygon is a clockwise or antclockwise using VBA
I checked the Normal property. Yes. it is the straightforward method. But, as Jan said, the limitations are,a. Works in 3D dgn only. Not in 2D dgn.b. The shape element should have same Z value in all...
View ArticleRe: Set Tag Values in Selected Element Only
Thanks Jon,Apologies for the delay, have been on leave.I will continue to play around with Tags, but from your vast experience, are Tags the best way to go about this? Or is there another way to misc...
View ArticleRe: Set Tag Values in Selected Element Only
Rob Golding: Are tags the best way to go about this?I don't know your requirements, so can't comment.Here's a review of MicroStation and Databases, which covers both DGN internal and external data.Rob...
View ArticleRe: [v8i VBA]How to check a polygon is a clockwise or antclockwise using VBA
sivag75:The shape element should have same Z value in all of its verticesNo. The shape must be planar. That means that all its vertices lie on the same plane. That plane does not need to be the XY...
View ArticleRe: [v8i VBA]How to check a polygon is a clockwise or antclockwise using VBA
Jan told that there are some limitations in this. I meant that.I tested in 2D dgn. Here, the Normal property Z is 1 for clockwise and counter clockwise shapes.
View ArticleRe: [v8i VBA]How to check a polygon is a clockwise or antclockwise using VBA
sivag75:I tested in 2D dgn. Here, the Normal property Z is 1 for clockwise and counter clockwise shapesI agree. The result of VBA ShapeElement.Normal property is incorrect in a 2D model. Both...
View Article[V8i VBA] ShapeElement.Normal Property
The result of VBA ShapeElement.Normal property is incorrect in a 2D model. Both clockwise and counter-clockwise shape elements have the same normal.I placed two shapes in a 2D DGN model, then...
View ArticleHow to make element selection smarter?
I have got a VBA program that is designed for placing element along walls.If you start the program and move the cursor along the edges of a wall a rectangle is shown. If you click on the left mouse...
View ArticleRe: How to make element selection smarter?
quasi_modo:Does anyone have an idea how to remove the horizontal rectangle?Do While Not ele Is NothingYour code is possibly too inclusive. It's going to calculate, in dynamics, as many rectangles as...
View ArticlemdlTransients_* - interfering with fit view
Hi all, In my app I'm updating from V7 -> V8 there is a guide drawn around the edge of the window from which the user user can work out where they are, picture a blue border, 50-60 pixels wide...
View ArticleRunning a VBA from a autorunning VBA?
I am auto-running a VBA programme on every file open using clsDGNOpenClose (AskInga), this is checking what file extension is being used and then running another VBA based on one of two file types....
View Article