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 ArticleRe: [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 ArticleRe: [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 ArticleRe: [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 ArticleRe: [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 ArticleRe: [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 ArticleRe: [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 ArticleRe: [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 ArticleRe: [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 ArticleRe: [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 ArticleTag 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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