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

Image may be NSFW.
Clik here to view.

RE: Need Help on Microstation VBA to change text view from TOP view to...

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: MicroStation...

View Article


Need Help on Microstation VBA to change text view from TOP view to Isometric...

Hi Microstation Users,I am trying to write a VBA Macro which helps us to get the data from excel sheet and place it in title block of microstation drawing and the macro runs till the end of row and...

View Article


RE: [CONNECT C++] TextBlock::AppendField

That's a leftover comment from a forgotten time. Ignore it.

View Article

[CONNECT C++] TextBlock::AppendField

The MicroStationAPI documents  TextBlock::AppendField but has this note...This API is currently a Work in Progress (WIP) to allow direct access to fields, and is a short-term workaround/solution.What...

View Article

RE: [CONNECT C++] Correlating an Element with its DgnElementSchema class name

Describe what you're trying to accomplish please. If you want to obtain EC property *values* from an element, just do an ECQuery on the element. If you need to know the ECClass, obtain it from the...

View Article


[CONNECT C++] Correlating an Element with its DgnElementSchema class name

SchemaInfo schemaInfo(ECN::SchemaKey(L"DgnElementSchema", 1, 0), *pDgnFile); ECN::ECSchemaPtr pSchema = ecMan.LocateSchemaInDgnFile(schemaInfo, ... ECN::ECClassCR ecClass =...

View Article

[CONNECT VBA] Text color

I am unable to set override text color in VBA. Same code works in v8i but not in CONNECT. Text is placed white(maybe related to defect 278792?) Dim teP As TextElement Dim lvP As Level Dim txsp As...

View Article

RE: [CONNECT VBA] Text color

good evening I do not know if it's right perhaps too easy'---------------- teP.rewrite'--------------- Ciao

View Article


RE: [CONNECT C++] Correlating an Element with its DgnElementSchema class name

[quote user="Paul Connelly"]Describe what you're trying to accomplish[/quote]I want to get the Area property of a closed element.  It's likely to be a shape, complex shape or ellipse.  Then I want to...

View Article


RE: [CONNECT C++] Correlating an Element with its DgnElementSchema class name

Create a polymorphic ECQuery for the class BaseElementSchema:MstnClosedBoundary. Execute the query using the ElementHandle as the scope. If it returns an ECInstance, create a field pointing to the...

View Article

RE: [CONNECT] Enable/Disable Custom Toolbox when app is Loaded/Unloaded

Hi Jon,[quote user="Jon Summers"]Load the app. automatically if any of the toolbox buttons is clicked?[/quote]Yes, it works the same way as in V8i: Use [taskid] <key-in> syntax, e.g. [edftools]...

View Article

[CONNECT C++] Reading ElementTemplate Components

Is it possible to examine an ElementTemplate to inspect if it has an "item" definition? I don't see anything in ElementParameterType that looks like an item.  Thanks,Bruce

View Article

RE: [CONNECT VBA] Text color

Hi Oto,why do you set text element color at first and after it you assigned the text style, which overrides previously set parameters?If the assignment is done in reverse order, it works fine:Option...

View Article


RE: [CONNECT VBA] Text color

We use text styles in which the color flag is not set, so I expect that when I place text the active color is used. This works in v8i even without setting(txsp.UsesColor = False) but not in CONNECT....

View Article

RE: [CONNECT C++] Correlating an Element with its DgnElementSchema class name

Paul, 1. What happens when there are other fields pointing to the property? Is there a centralised update manager to handle the propagation? Another user might be subscribing to either the original...

View Article


RE: [CONNECT VBA] Text color

Hi Oto,[quote user="Oto"]Seems like a bug in CONNECT edition.[/quote]In my opinion it should be reported and discussed in general MicroStation community, because the problem that color in a style...

View Article

RE: [CONNECT VBA] Text color

Defect # 278792 is listed as resolved in Update 2 (communities.bentley.com/.../30087.resolved-issues-in-microstation-connect-edition-update-2) but apparently not correctly. Filed a new service ticket.

View Article


RE: Run Microstation macro from Excel

First of sorry for being too much late in reply as i was little bit busy. Lorys : in your original post you stated your dgns had tags...(so you want to extract and repopulate via a batch process many...

View Article

Run Microstation macro from Excel

Hello,I Have Atleast 300 2D non-intelligent Microstation DGN files. Each file containes Piping Isometrics Generated From "Smart Plant Isometrics".Each file having few support Tags written in it. each...

View Article

RE: [CONNECT C++] Formatting using ECN::IECInstance

Jon, When creating a TextField, you can pass in an optional IECInstanceCP containing formatting information. Formatting is performed by IDgnECTypeAdapter (with much of the functionality in the base...

View Article
Browsing all 7260 articles
Browse latest View live


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