Re: Remove Element Permanently ( Removed Element Must Not display even if...
Hi Jon,I don't want to compress the entire Dgn file.I just want to remove the specified element permanently from the file.Is this possible ?
View ArticleRe: Remove Element Permanently ( Removed Element Must Not display even if...
Daniel Christopher:I just want to remove the specified element permanently from the fileExperiment with mdlUndo_setActive. Proceed with caution.
View ArticleRe: [V8i MDL] Select Series 3 MS_DWGSAVEAPPLICATIONDATA=1 (or ON) not working
I checked the toggle as you suggested. The setting was correct. However, I discovered File->Save (or the timer based save) loses the application data - but only if a level has been created and only...
View ArticleRe: Remove Element Permanently ( Removed Element Must Not display even if...
Try this:mdlElement_read(&MsElm,MASTERFILE,*FilePos);mdlElement_undoableDelete(&MsElm,*FilePos,TRUE);mdlUndo_setActive(TRUE);Problem is, that deleted elements are held in the DgnCache, and...
View ArticleRe: Remove Element Permanently ( Removed Element Must Not display even if...
You may also try to experiment with temporarily blocking Undo operation while leaving everything else as is./*------------------------------------+| Name: blockUndoCallback CALLBACK...
View Article[V8i] How can I Compare the direction of two lines.
Hi!I have two lines to compare direction.( to check two line go same direction or not.)I made two Ray3D objects from the lines like below.Dim oRay_Cell As Ray3dDim oRay_Line As Ray3doRay_Cell =...
View ArticleRe: [V8i] How can I Compare the direction of two lines.
gangplank:I have two lines to compare direction.( to check two line go same direction or not.)You're asking if two lines are parallel.gangplank:I don't know how to compare the directionHow about...
View ArticleRe: Remove Element Permanently ( Removed Element Must Not display even if...
could I ask Why? Is there some external data that needs to be synchronized? If so then look at the ChangeTrack API to see if that can help you.Regards,
View ArticleRe: [V8i MDL] Select Series 3 MS_DWGSAVEAPPLICATIONDATA=1 (or ON) not working
This is not expected and a reproducible test program will be most helpful.
View ArticleRe: .NET Platform applicable to create MDL commands
Hello sir Jan,I was asked to investigate if possible that the custom commands created using MDL which is C-based API can be applied using .Net platform. In my understanding, we can create MDL custom...
View ArticleRe: Call VB Program from MicroStation
Hello sir Jon,Thank you for the information and link.Best Regards,Aldrin
View ArticleRe: [V8i MDL] Select Series 3 MS_DWGSAVEAPPLICATIONDATA=1 (or ON) not working
Thanks Don. I am working on the small test program by slightly modifying mdl\examples\applcelm.mc. I think I should end this long hard-to-read thread. I will post a new easier to read thread as soon as...
View ArticleRe: How can i create a ComboBox like the System Tools->Attributes->Active...
I have tried example projects cstexmpl and newitems.But it didn't conform to my scene.My combobox hook could not receive DITEM_MESSAGE_FOCUSIN message in my scene.
View ArticleRe: Remove Element Permanently ( Removed Element Must Not display even if...
mdlElement_read(&MsElm,MASTERFILE,*FilePos);mdlElement_undoableDelete(&MsElm,*FilePos,TRUE);mdlSystem_compressDgnFile(); // Won't this stop the undo?
View ArticleRe: .NET Platform applicable to create MDL commands
You are wrong ! With any languge of .NET platform, you can write MicroStation Addin application which can include your defined commands.Please refer the following table:Application TypeSupport Command...
View ArticleRe: [2004 MDL] Help comparing the points.
Jon Summers: Are sagar and sajan the same person?No sir, i used to ask here as cjan but i could not login with cjan so i created this.sincerelySajan
View ArticleRe: [V8i] How can I Compare the direction of two lines.
Thank you, Jon.User will put the arrow-mark on the line, so Arrow-mark and line are parallel.Like below, there are two cases to check. case 1 : Same direction arrow-mark with line (StartPoint --...
View ArticleRe: .NET Platform applicable to create MDL commands
Hi Aldrin,Aldrin Almia:I was asked to investigate if possible that the custom commands created using MDL which is C-based API can be applied using .Net platformThe problem is that the title of your...
View ArticleRe: [V8i] How can I Compare the direction of two lines.
gangplank:How can I know case1 or case 2 ?Compute angles of the line and the arrow: In case 1 the angles will be the same, in case 2 they will be different by 180 degress (or PI/2).Regards, Jan
View ArticleRe: [V8i] How can I Compare the direction of two lines.
Computational Geometrygangplank:How can I know case1 or case 2?You want to determine whether two vectors are parallel or anti-parallel. Compute the cross product.With VBA, you need to convert your...
View Article