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

Re: fseek, ftell Problems in C-style native code DLL

Hi Michael,thanks for this hint, I will check it, when I am in Office back again,Thanks,Willi

View Article


Re: fseek, ftell Problems in C-style native code DLL

I undertsand your problem, I just say don't use these functions under Microstation. Some cpp filehandler functions may cause crash (e.g.: _fclose , fseek, ...).So I'm working in the memory, and after...

View Article


Re: [V8i C++] OnComplexDynamics() and the use of transparency

Oh !! I was tinkering with Element Info, and it looked like the transparency value was from 0-100. No wonder things didn't seem to work.

View Article

Image may be NSFW.
Clik here to view.

Re: Solid Working Area

StirlingH:Using the “re-evaluate tree” tool seems to fix the element. What I am wondering is – would that tool or some similar process correct elements to operate in a new SWA once they are copied?The...

View Article

Re: [V8i C++] OnComplexDynamics() and the use of transparency

Something to be mentioned in the docs ;-)Even elementinfo doesn't explicitely show that the value is % (which results in 0<value<1), only the help (after following some links) for the...

View Article


Image may be NSFW.
Clik here to view.

Re: fseek, ftell Problems in C-style native code DLL

Peter Burian: Put your code to C++/CLI, It solves the problemSolves what problem?  Using /CLI adds an unwanted layer of complexity.  Why introduce .NET when C++ provides a fine set of I/O classes in...

View Article

Image may be NSFW.
Clik here to view.

Re: fseek, ftell Problems in C-style native code DLL

Willi S: I use VC2005. Perhaps I will have to migrate to C++?If ever you want to use the MicroStationAPI, then you will have to use C++.For MDL development, C++ helps you to be more productive. C++ has...

View Article

Re: MDL did not get loaded with MicroStation Powerdraft version V8i

Thank you very much for answering my question. Do I need to apply this key in my MDL? Best,

View Article


Re: MDL did not get loaded with MicroStation Powerdraft version V8i

Yes, that needs to be included during the compilation of the application. Instructions on how to do that are provided to those who we send the passcode/key to. Note that there is a review process...

View Article


VBA test if dgn checked out from ProjectWise

I am writing a microstation vba that is only intended to operate on the active dgn file if it hasn't been checked out of ProjectWise. Although I could look at the full filename of the activedgn, that...

View Article

Re: VBA test if dgn checked out from ProjectWise

Stephanie,There are two cases typically involed with with MicroStation and ProjectWise integration from a VBA perspective.One is how to tell if your MicroStation session is integrated with ProjectWise...

View Article

[V8i C++] Saving a V8 model back to a V7 .dgn file - problem with global origin.

We've got a tool for saving V8 models back to V7 .dgn files. The approach uses the mdlWorkDGN_ functions with a CopyContext. There is a difference between the V8 model resolution and global origin and...

View Article

Re: [V8i C++] Saving a V8 model back to a V7 .dgn file - problem with global...

The only thing that comes to mind is a rogue element or a reference attachment is expanding the model range beyond the V7 design extents so that the V8->V7 convert is shifting everything (this will...

View Article


Re: VBA test if dgn checked out from ProjectWise

Robert,If I understand this correctly, (and I've tested it) then the "MicroStation session is integrated with ProjectWise"  (mcm.ma) only tells me that ProjectWise itegration is valid, not that the...

View Article

Re: [v8i VBA] add link to element

Hi Jon,It was a typo in the question. But you are right, better use a constant.Idid not know that SetValue writes back immediately. Thanks.John Schippers

View Article


How use mdlDialog_balloonTextShow or other in VBA

Hello, I've made great progresswith your helptoday(mythirst for learning)leads me tothe next levelI wouldneed someonetoguidemeto use thecommand"mdlDialog_balloonTextShow"tointegrateinto...

View Article

Re: [v8i VBA] add link to element

I think to add the link to an element you can use code like this in a locate command:ActiveModelReference.SelectElement ElementCadInputQueue.SendKeyin "ELEMENT CREATE LINK URL http://www.bentley.com"HTH,

View Article


Re: [v8i VBA] Set linespacing of textnodes

Hi,If you are working with just text/text nodes, you could use some SendKeyin's to change the line spacing.--Robert

View Article

Image may be NSFW.
Clik here to view.

Re: How use mdlDialog_balloonTextShow or other in VBA

Okette2:Mythirst for learningleads me tothe next levelExcellent!mdlDialog_balloonTextShow is an MDL function.  You've correctly declared it at the beginning of your module.  However, its first...

View Article

Re: Solid Working Area

Hi Brien,It seems unless all the models involved in the Structural extraction have the same SWA it is not working for certain smart solids.R,Stirling.

View Article
Browsing all 1677 articles
Browse latest View live


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