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

Image may be NSFW.
Clik here to view.

Re: [V8i C++] using FileOpenDialogPreprocess() hook to save a DWG file as DGN...

Yongan.Fu:I know we can call mdlSystem_saveDesignFileAs function to save a DWG file to DGN directly. Does it help you ? Thanks for the suggestion. Unfortunately it does not help, as the...

View Article


Re: [V8i C++] using FileOpenDialogPreprocess() hook to save a DWG file as DGN...

Post a bit of code so we can see how you set up everthing.

View Article


Re: [V8i C++] using FileOpenDialogPreprocess() hook to save a DWG file as DGN...

You can send the keyin "save as v8"?

View Article

[V8i C++] Using IElementState with MstnElementSetTool class

I'm trying to use an example MstnElementSetTool posted by Brien Bastings that demonstrated the use of a IElementState derived class to hold additional info on the "picked" elements. In the original...

View Article

Image may be NSFW.
Clik here to view.

Re: [V8i C++] using FileOpenDialogPreprocess() hook to save a DWG file as DGN...

Jon Summers:Post a bit of code so we can see how you set up everthing.else if ( (fopenParamsP->openCreate == FILELISTATTR_CREATE )  &&         (DEFSAVEASFILE_ID ==...

View Article


Re: [V8i C++] Using IElementState with MstnElementSetTool class

You want a DVec3d as a member of your info, not a DVec3dCP...assuming the "diff" you passed to SetDirectionVectorCP is a local variable, when it goes out of scope your pointer becomes stale...HTH-B

View Article

Re: [V8i C++] Using IElementState with MstnElementSetTool class

This isn't a solution to your question, which it looks like Brien has supplied, but a comment on your use of const pointers.const-nessYour class variable...HitPathCP       m_hitPath;...is a const...

View Article

Re: [V8 C++] DgnCacheIterator Example?

Thanks for that clarification and example.There's no built-in way to filter elements in a cache search.  Does the mdlScanCriteria_api remain the only way to find a set of filtered elements?  That is,...

View Article


Image may be NSFW.
Clik here to view.

Re: [V8i C++] Using IElementState with MstnElementSetTool class

Jon Summers:Surely it's better to proclaim that the variable may change by declaring it HitPathP?While your comments regarding const are certainly true in general, this code is being somewhat "clever"...

View Article


Image may be NSFW.
Clik here to view.

Re: [V8i C++] using FileOpenDialogPreprocess() hook to save a DWG file as DGN...

Bruce Reeves SRNS:fopenParamsP->suggestedFileNameP = outputFilename;Where is outputFilename declared?

View Article

[V8i MDL] mdlKISolid_closestPointOnBody

Hello,I want to get the smalest distance from a Point to a SmartSolidElement.In the API is the function int mdlKISolid_closestPointOnBody ( DPoint3d* pointOutP , KIENTITY** entityOutPP , double*...

View Article

Image may be NSFW.
Clik here to view.

Re: [V8i MDL] mdlKISolid_closestPointOnBody

Martin Roling:How can I move the pointP from real coordinates to solid coordinates? void transformUorsToSolidUnits ( DPoint3d*    point // <=> point to be transformed ) {...

View Article

Tag Extraction to Excel

Hi everyone just wondering if i can get some help on a code for extracting tag text to excel.The code I have used is out of the Book Learning Microstation VBA by Jerry Wintersthe code is listed below,...

View Article


Re: Tag Extraction to Excel

Without testing  I'm missing:Dim myFSO As NEW Scripting.FileSystemObjectMore info: http://support.microsoft.com/kb/186118/EN-US

View Article

Image may be NSFW.
Clik here to view.

Re: Tag Extraction to Excel

VBA ReferencesDabid:Dim myFSO As Scripting.FileSystemObject Dim myExcel As Excel.ApplicationExternal applications require a VBA Reference.  Use the Tools|References menu in the VBA Interactive...

View Article


Re: Set Design File vba or key-in highlight color and Selection Color V8i is...

look at the lever manager hilight the level name or try to rename and copy it then in your keyin paste the level name I bet there a  space you left out of your keyin....Lorys

View Article

Re: Set Design File vba or key-in highlight color and Selection Color V8i is...

Remove the quote from lv="Level4" and insert space so it looks like lv=Level 4; and finish command line with ;NULL

View Article

Browsing all 1677 articles
Browse latest View live


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