Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Browsing all 7260 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

RE: [V8i VBA] Detecting if coordinate is above or below target element

Five gold stars for working through matrices from first principles!Excel includes some matrix functions.  This web page describes Excel 2010 Matrix Multiplication (MMULT).

View Article


RE: [CONNECT C++] Questions about TransformInfo and reflection

1) Probably not.2) NoYou could use a ChildEditElemIter and apply special logic or a different transform to the "text" components...-B

View Article


[CONNECT C++] Questions about TransformInfo and reflection

When mirroring a cell with text, it is possible to set the TRANSFORM_OPTIONS_DisableMirrorCharacters options and provide a MirrorPlane such that as the cell is rotated, the text elements are 1) not...

View Article

Image may be NSFW.
Clik here to view.

RE: [V8i VBA] Detecting if coordinate is above or below target element

Thanks for the compliment. It has been quite enjoyable but sometimes a headache as well.[quote user="Jon Summers"]Excel includes some matrix functions.  This web page describes Excel 2010 Matrix...

View Article

Image may be NSFW.
Clik here to view.

[V8i VBA] Detecting if coordinate is above or below target element

As a followup to one of my previous threads here, the image below is is my target element (its 22miles long) with the placed cells also shown (very hard to see at this scale)This is a close-up where...

View Article


RE: [V8i VBA] Detecting if coordinate is above or below target element

[quote user="Barry Lothian"]Seems long-winded[/quote]MicroStation makes complex operations seem natural.  As a programmer, you have to analyse — as you have done — the steps required to accomplish that...

View Article

RE: [V8i VBA] Detecting if coordinate is above or below target element

Morning JonI've been working on implementing the process I outlined and all has gone well up to the point of using EvaluatePointFrame. I have the following code:Dim EPF As Point3d Dim Frame As Matrix3d...

View Article

Image may be NSFW.
Clik here to view.

RE: [V8i VBA] Detecting if coordinate is above or below target element

I may have just solved it. The VBA examples and other posts I have read on here typically have:LinearNormal = Point3dFromXYZ(0, 0, 1)With that set, I am now getting values for Frame in the locals...

View Article


RE: [CONNECT C++] Questions about TransformInfo and reflection

[quote user="Brien Bastings"]You could use a ChildEditElemIter and apply special logic or a different transform to the "text" components...[/quote]Yes - that is what I'm doing.... Bruce

View Article


RE: [CONNECT C++] Replacement for mdlRMatrix_ functions in CONNECT API

You're probably looking for RotMatrix::FromPrincipleAxisRotations(). fyi mdlRMatrix_rotate() still exists in CONNECT.

View Article

RE: [CONNECT C++] Replacement for mdlRMatrix_ functions in CONNECT API

[quote user="Bruce Reeves SRNS"]In CONNECT, how do I perform the equivalent of mdlRMatrix_rotate()[/quote]#include <Mstn/MdlApi/msrmatrx.fdf>

View Article

RE: [CONNECT C++] Replacement for mdlRMatrix_ functions in CONNECT API

RotMatrix::FromPrincipleAxisRotations() *seems* like it was what I was looking for, but but when used as in:invMatrix.FromPrincipleAxisRotations(invMatrix, 0.0, 0.0, actAng*fc_piover180); I did not get...

View Article

RE: [CONNECT C++] Replacement for mdlRMatrix_ functions in CONNECT API

TIP: A good starting point to bookmark to investigate or review new/replacement API methods for mdlRMatrix and mdlTMatrix functions is the MicroStationAPI.chm help topic:  "Linear Transformations:...

View Article


RE: [CONNECT C++] Replacement for mdlRMatrix_ functions in CONNECT API

The RotMatrix arg is const. The function returns a new RotMatrix as the product of RX*RY*RZ*M where M is your input matrix. Alternatively use InitFromPrincipleAxisRotations() to do it in-place.

View Article

[CONNECT C++] Replacement for mdlRMatrix_ functions in CONNECT API

In pre CONNECT, I do something like:// get the view rotation RotMatrix invMatrix ={0}; mdlRMatrix_getInverse( &invMatrix, (RotMatrixP)ev.GetViewport()->GetRotMatrix() ); // rotate the view...

View Article


RE: [CONNECT C++] How do you get an MSWindowP to the main CONNECT application...

[quote user="Bruce Reeves SRNS"]I can't figure out how to get an MSWindowP. I tried mdlNativeWindow_getMainHandle()[/quote]Did you initialise the native window API?  From help: The native window...

View Article

[CONNECT C++] How do you get an MSWindowP to the main CONNECT application...

I'm wanting to add some text to the main CONNECT application window, but I can't figure out how to get an MSWindowP. I tried mdlNativeWindow_getMainHandle(), but it returns nullptr whether I pass in 0...

View Article


RE: [CONNECT APIs] Documentation Improvement Requested

Hi Jon,There are two (indirect) items currently in progress to certainly help all of us with searching, isolating, and identifying correct information across various sources.  Please bear with me for a...

View Article

[CONNECT APIs] Documentation Improvement Requested

The current API documentation (MicroStation CONNECT Update4) makes it hard to find things.  In particular, topic overview descriptions that introduce a part of the API do not make themselves known....

View Article

Image may be NSFW.
Clik here to view.

RE: [CONNECT APIs] Documentation Improvement Requested

While the search options available for CHM help are useful, they provide at best a work-around for poorly-organised documentation. Spurious Search ResultsBetter organisation would remove spurious...

View Article
Browsing all 7260 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>