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

RE: [CE 4 C# NET API] How to terminate DgnElementSetTool class?

Hi Jan,I have tried DgnElementSetTool.ExitTool() but it does not terminate class, it is still active.best regardsNenad

View Article


RE: [CE 4 C# NET API] How to terminate DgnElementSetTool class?

Hi Nenad, I am not sure if I wrote it in a right way: There is no DgnElementSetTool.ExitTool() in a meaming of static method for DgnElementSetTool class. From inside the command class it should be...

View Article


RE: [CONNECT - AddIn] Place cell from cellibrary

have you found the solution to solve this problem? we are also facing the same problem now..please share the solution if you have any

View Article

RE: [CONNECT - AddIn] Place cell from cellibrary

Hi 虎 祝,because this thread is quite old, I recommend to post a new question again, especially whether this discussion related to (I guess) CONNECT Edition Update 1 and today Update 4 is available.In...

View Article

[CONNECT - AddIn] Place cell from cellibrary

I want to perform a very simple task - place a cell from a celllibrary. I got this code:DPoint3d origin = new DPoint3d(100000,100000); DPoint3d scale = new DPoint3d(10,10,10); SharedCellElement cellElm...

View Article


Image may be NSFW.
Clik here to view.

RE: VBA: pattern informations

Welcome, Mini!Please follow the MicroStation Programming forum best practices.Identify Your PlatformPlease identify the version of MicroStation, or other product such as PowerDraft, that you are using:...

View Article

RE: VBA: pattern informations

Hy Jon, I'm using Microstation V8i and PowerDraft V8i (both 08.11.09.833). Regards, Jacqueline

View Article

RE: VBA: pattern informations

Hi Jacqueline,[quote user="Mini"]How do I get pattern informations of a pattern placed with "associative pattern" and "associative region boundary" with VBA?[/quote]There are no such methods /...

View Article


RE: VBA: pattern informations

Hi Jan, thanks, this helps me a lot! Regards, Jacqueline

View Article


RE: [CONNECT C++] ECProperty value list

Programmatically? Given an ECProperty prop: ECValue valuesArray; ECValue value; auto attr = prop.GetCustomAttribute(L"EditorCustomAttributes", L"StandardValues"); attr->GetValue(valuesArray,...

View Article

RE: VBA: pattern informations

Hi Jan, i have another question: How can I get the hatch-spacing? Regards, Jacqueline

View Article

RE: VBA: pattern informations

I guess it's "HatchSpace", but I recommend to use GetAccessStrings and to study the list of all available access strings.Dim accessString() As String accessString = ph.GetAccessStringsWith regards,  Jan

View Article

RE: VBA: pattern informations

I guessed the same, but it doesn't work?If oPH.SelectByAccessString("HatchSpace") Then spc = oPH.GetValue End If

View Article


RE: VBA: pattern informations

[quote user="Mini"]but it doesn't work?[/quote]What does it mean "it doen't work"? Is there any error message or what are symptoms?Does the access string exist? What variable type is spc?With regards,...

View Article

RE: VBA: pattern informations

oPH.SelectByAccessString("HatchSpace") is false so I can't get the value - but oPH.GetAccessStrings includes the "HatchSpace". spc is type double. Regards, Jacqueline

View Article


RE: VBA: pattern informations

[quote user="Mini"]oPH.SelectByAccessString("HatchSpace") is false[/quote]So it means it does not exist ... and you probably dicovered a bug in MicroStation, because the access string exists in the...

View Article

VBA: pattern informations

How do I get pattern informations of a pattern placed with "associative pattern" and "associative region boundary" with VBA?

View Article


RE: [CONNECT C++] ECProperty value list

[quote user="Paul Connelly"]auto map = attr->GetValue(value, L"ValueMap", i); ECValue integer, displayString; map->GetValue(integer, L"Value");[/quote]Thanks for the hint: you set me off on the...

View Article

RE: [CONNECT - AddIn] Place cell from cellibrary

If all you want to do is plot the cell the interop solution is fine, but you would be limited to using the interop API on the returned element. There is no easy way of passing the element back and...

View Article

RE: [CONNECT - AddIn] Place cell from cellibrary

Hi Maury, Thanks for sharing, I guess SharedCellElement class might be a bug , I called C++ API to solve this problem My code is: UInt64 CreateSharedCellElement(System::String^ cell_name, double oX,...

View Article
Browsing all 7260 articles
Browse latest View live


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