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

Re: [V8i C# Addin] Getting Area of a Fence

If you type the place fence command manually in MicroStation's key-in dialog, does that do what you want?  When you queue a command programmatically, it should have the same effect.

View Article


Re: [V8i C# Addin] Getting Area of a Fence

It almost does -- it defaults to a square fence where I want them to choose different points to get a polygon in the end. However, when I do the following code I don't get anything.       private void...

View Article


Image may be NSFW.
Clik here to view.

Re: [V8i C# Addin] Getting Area of a Fence

zCane75: s_comApp.CommandState.StartPrimitive(areaSelectionCommand, false);Please start a new thread with topic How do I start a Primitive Command?zCane75:There's something with the queued command and...

View Article

Image may be NSFW.
Clik here to view.

Re: [V8i C# Addin] Getting Area of a Fence

Hi,zCane75:After that, I'd like my program to go ahead and change the user's cursor to a fence placement cursorFrom MicroStation perspective, it's nonsense, because there is nothing like fence...

View Article

Re: [V8i C# Addin] Getting Area of a Fence

That makes sense...I guess I was trying to wrap it too closely to how the other area calculator works with primitive command...hadn't really thought about doing this without executing a primitive...

View Article


MDL C++ sample code.

Hello,Do you have a sample code like scanning elements or the basic example where I can start coding MDL using C++?  I have the the delivered examples from MicroStation SDK but I think I need just a...

View Article

Re: MDL C++ sample code.

Hi Aldrin,honestly, the examples delivered with MicroStation SDK are for beginner ... if the beginner is defined as a person who know C and C++ well (average or better level), knows how MicroStation...

View Article

Image may be NSFW.
Clik here to view.

Re: MDL C++ sample code.

Hello sir Jan,I'm using the same version of MicroStation and SDK. MiroStation V8i (SELECT series  2) - Version 08.11.07.443.With regards to Scanfile, I tied to load but nothing happens.  See image...

View Article


Image may be NSFW.
Clik here to view.

Re: MDL C++ sample code.

ScanFile is an MDL application that includes a command table.  When you load it (mdl load ScanFile) it does nothing other than stay in MicroStation memory, and its command table is appended to...

View Article


Re: [V8i C# Addin] Getting Area of a Fence

Now you've explained what you want to achieve, I can suggest another solution.  The question about fence placement is a red herring.  Write a primitive command to create a shape, and draw the shape in...

View Article

Re: MDL C++ sample code.

If I develop Jon's advice more, you should prefer not to compile the example and check, what it does, but to read the source code first, try to understand it,make some assumptions about its...

View Article

Re: MDL C++ sample code.

Hello sir Jan,Thank you for the advice and I really need to learn MDL.Best Regards,Aldrin

View Article

Re: MDL C++ sample code.

Hello sir Jon,For this statement: Try mdl load ScanFile followed by scan linkage, linkage extract or linkage attach. After clicking the load button, how I will scan linkage, linkage extract or linkage...

View Article


Image may be NSFW.
Clik here to view.

Re: MDL C++ sample code.

Hi Aldrin,Aldrin Almia:I really need to learn MDL.What is not clear from your posts (or is, but subjectively in a bit negative way) is your current knowledge of C and C++ development. Are you able to...

View Article

Image may be NSFW.
Clik here to view.

Re: MDL C++ sample code.

Aldrin Almia:After clicking the load button, how I will scan linkage, linkage extract or linkage attach? Do I need to use the MicroSation Developer Shell for it?"scan linkage", "linkage extract", and...

View Article


Image may be NSFW.
Clik here to view.

Re: MDL C++ sample code.

View Article

[V8i C# Addin] How to change tagset name without losing associated tags

I need to change the tagset name in a C# addin in the event the user changes some settings. I have tried just updating TagSet.Name to the new tagset name and that will in fact update the tagset name...

View Article


Re: [V8i C# Addin] How to change tagset name without losing associated tags

You can not do this with the VBA-COM methods, You have to create a new Tagset and "copy" all information from the "old" to that new tag and attach it again to the base-elemenent. I think that is...

View Article

Re: [V8i C# Addin] How to change tagset name without losing associated tags

mdlTag_setSetDef will allow you to rename a tag set if you can find a way to call it...You can freely change the tag set name, the tag elements themselves don't refer to the tag set by name, they store...

View Article

Re: MDL C++ sample code.

If you are just starting then I would suggest looking at the MYAPP example.  It is the application that was used in the MDL class.  There are extra comments in the source that should help you...

View Article
Browsing all 1677 articles
Browse latest View live


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