Tag 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: [CONNECT C++] Use TextBlock::FindText() to locate "special" characters in...
Thanks, but my issue seems to get more complicated. I'm attempting to "convert" existing text in a model from a RSC font to a TrueType font. As long as the source text string has no special symbols...
View ArticleRE: [CONNECT C++] Use TextBlock::FindText() to locate "special" characters in...
[quote user="Bruce Reeves SRNS"]Using std::regex[/quote]That's for ASCII strings. For Unicode, use std::wregex; (as in my example).TextBlock::FindTextParametersPtr findParams; ......
View Article[Connect C# DgnPlatformNet] Proper way of setting custom Line Style
Currently I am using the following extension for setting an elements line style public static void SetLinestyle(this Element elem, string name) { using (ElementPropertiesSetter propSetter = new...
View ArticleRE: [CONNECT C++] Use TextBlock::FindText() to locate "special" characters in...
[quote user="Jon Summers"]Bruce Reeves SRNSUsing std::regex[/quote] Sorry - my mistake. I *was* using std::wregex. [quote user="Jon Summers"]Perhaps you omitted some code when you originally...
View ArticleRE: [CONNECT C++] Unable to use "regex" for TextBlock::FindText() and return...
Try this RegEx...([0-9]+\/[0-9]+)Results from Online RegEx Tester...Match 1 Full match 0-5 `19/64` Group 1. 0-5 `19/64` Match 2 Full match 6-11 `29/64` Group 1. 6-11 `29/64` Match 3 Full match 12-17...
View Article[CONNECT C++] Unable to use "regex" for TextBlock::FindText() and return...
Attempting to search a TextBlock for fractions (NOT stacked fractions) and can only return digits and divisor characters: input: "19/64 29/64 33/64 35/64 37/64 39/64 abyz11/16123"...
View ArticleRE: [CONNECT C++] Unable to use "regex" for TextBlock::FindText() and return...
[quote user="Jon Summers"]Full match 40-48 `11/16123` Group 1. 40-48 `11/16123`[/quote]In attempting to correct this regex result, I used the online tester and arrived at this...
View ArticleRE: [Connect C# DgnPlatformNet] Proper way of setting custom Line Style
DgnPlatformNet should allow you to perform something similar to: setter.SetLinestyle(level.GetByLevelLineStyle().Style, level.GetByLevelLineStyle().GetStyleParams()); Where you could simply create a...
View ArticleRE: [Connect C# DgnPlatformNet] Proper way of setting custom Line Style
Bob, Thanks for the reply, I would love to use the GetStyleParams method, but I need to get the line style for any specified line style, not the line style assigned to the level. How would I get the...
View ArticleRE: Get total length of multiple lines - different approach
[quote user="darth666"]I want to do just one scan to assign lengths values to proper line numbers [/quote]Create a reference to Microsoft Scripting Runtime (scrun.dll) in the VBA IDE. Now you can...
View ArticleGet total length of multiple lines - different approach
I have multiple lines each with individual number (tag). I have excel with many traces consisting of different line numbers. I want to calculate total lengths of that traces based on excel.eg2 - length...
View Article[V8i C#/MDL] Filter Table Names
I would like to get the list of user defined level filters as shown in the level display dialog. It looks like MDL has functions to iterate filters and I'm willing to hack my way through these. I guess...
View ArticleRE: MicroStation VBA - Attachment Properties
[quote user="Warren Malveau"]In my MVBA code...[/quote]Please post questions about MicroStation VBA to the Programming Forum.Identify Your PlatformPlease identify the version of MicroStation, or other...
View ArticleMicroStation VBA - Attachment Properties
In my MVBA code, I am looking for a property that will tell me an attachment's orientation (coincident, coincident-world, named view, etc.). Where do I find this?
View ArticleRE: Which tool in MicroStation Connect can perform V8i edition's replace...
Please follow the MicroStation Programming forum best practices.Identify Your Programming LanguageAre you writing MDL, C++, C#, VB.NET or MicroStation VBA?Code Syntax HighlightingWhen you post code,...
View ArticleRE: Which tool in MicroStation Connect can perform V8i edition's replace...
Hi Jon, Sorry, I was put the question in a wrong place, this question should be under MicroStaion list. About my question, I wish to know which function in MicroStation Connect can do the same work as...
View ArticleRE: Which tool in MicroStation Connect can perform V8i edition's replace...
[quote user="Koalar Q"]this question should be under MicroStation list[/quote]Then please post to the MicroStation Forum.
View ArticleWhich tool in MicroStation Connect can perform V8i edition's replace surface...
Hi,How should I make a B-Spline surface to become a solid, like the same function of replace surface in MicroStiation V8i?Could you tell me please, thanks!regardsKoalar
View Article[V8i InRail VBA] SmartSolidElement and Advanced Settings - Solids Area.
HelloHere is a really strange one.i create pipeline with code like this:Set oConeElm(0) = CreateConeElement2(Nothing, 1, oPoint(0), oPoint(1)) Set oConeElm(1) = CreateConeElement2(Nothing, 1.1,...
View Article