RE: How to get handle or instance on two different Design Files using C#
Identify Your PlatformPlease identify the version of MicroStation, or other product such as PowerDraft, that you are using: MicroStation CONNECT or MicroStation V8i.The APIs supplied with MicroStation...
View ArticleHow to get handle or instance on two different Design Files using C#
Hi i was trying to get handle on two different Design files in C# using Marshal.GetActiveObject by Application class() = new Application but i was able to get handle only on single Design file.My...
View ArticleRE: [V8i] Command for C#/VB.NET: import CAD file + file path as parameter
[quote user="Marc Henseleit"]Is there a key-in / SendCommand for "Select the attachment you want to merge"[/quote]I searched MicroStation help for References Key-ins and foundREFERENCE MERGE...
View ArticleAssigning a value to an ITEMTYPE member
Hello,I would like to automate itemtype property assignment.To do that, I'm trying to write a small piece of VBA but it seems no functions are available for this usage in the VBA API.As an old...
View ArticleRE: [V8i VBA] Tagdefintionname checking with Select Case statement
[quote user="Barry Lothian"]My guess is the AsTagElement.TagDefinitionName part of the select case line[/quote]Good guess! Once you've found a LineElement having tags, you then need to analyse the...
View Article[V8i VBA] Tagdefintionname checking with Select Case statement
Afternoon all,I'm revisiting an old tags extraction macro within an XLS file and rewriting it to improve its performance as when I last used it was a bit maverick in its results.There are plenty of...
View ArticleRE: [V8i VBA] Tagdefintionname checking with Select Case statement
Morning Jon,I realised that I chose the wrong option with intellisense choosing .TagDefinitionName instead of .TagSetName though regardless my code still would not work anyway.I tried using your...
View ArticleRE: [CONNECT - CPP] Definition of TemplateSymbologyRemapperP is missing
Hi Brien It works !!! Thank you very much for your help... Regards, Evan
View Article[CONNECT - CPP] Definition of TemplateSymbologyRemapperP is missing
When I include#include <Mstn\XDataTree\MstnElementTemplate.h>in order to use MstnElementTemplateMgr I'm prompted with following...
View ArticleRE: [V8i VBA] Tagdefintionname checking with Select Case statement
[quote user="Barry Lothian"]As you know there has been some issues reported over the years accessing tags from an external process (typically from the office family products such as Excel and...
View ArticleRE: [V8i] Command for C#/VB.NET: import CAD file + file path as parameter
Oh that's embarrassing, I also searched the Microstation help but I failed to see REFERENCE MERGE in "Miscellaneous References Key-ins" because it was collapsed. It is very easy to use help...
View ArticleRE: Microstation VBA Cell AND SharedCell subelements modification
Hello Thank you for reply Well dropping the cell was not my initial idea, but looking at the issue i am not completely against it. i wanted to keeps the shared cell from dropping though as i need it to...
View ArticleMicrostation VBA Cell AND SharedCell subelements modification
Hello I inherited few drawings with overly complicated cells. investigating cells shows multiple level deep elements (cells, solids, lines etc) same thing goes for Sharedcells. Printouts are total mess...
View ArticleRE: [V8i VBA] B-Spline Curve Methods broken?
Hi Jon,we have tested with your example code and can confirm incorrect tangent results using the BSplineCurve.EvaluatePointTangent function.It seems the results are correct for parameter u = 0 or 1,...
View ArticleRE: [V8i VBA] Finding Tangent Vector of point on an element
Artur Goldsweer confirmed that VBA's EvaluatePointTangent method is broken. Even better, Artur proposed and tested a workaround using MDL function mdlElmdscr_pointAtDistance.I've updated the VBA...
View ArticleRE: [V8i VBA] Dear all, I am new to MicroStation and VBA. I want to copy an...
[quote user="Premkumar Dayakaran"]I want to copy an element with a base point from one file to another[/quote]Can you explain what is meant by 'an element with a base point'?Perhaps you could...
View ArticleRE: [V8i VBA] Dear all, I am new to MicroStation and VBA. I want to copy an...
Hi, To copy the element from one file to another, open the file in which the element to be copied, and attach the file that contains the element in 'Reference' mode (File\References). Now any element...
View ArticleRE: Getting msdError-105 on Microstation design from Code C# used...
Please follow the MicroStation Programming forum best practices.[quote user="Jagadish Patil"]We are doing Designing though MicroStation thugh code using C#[/quote]Please post questions about...
View ArticleRE: Getting msdError-105 on Microstation design from Code C# used...
MicroStation Version: Customer : v8i 08.11.09.608 Ours : V8 08.05.02.35 Windows 7: Both using 64 mc
View ArticleRE: Getting msdError-105 on Microstation design from Code C# used...
[quote user="Jagadish Patil"]Customer : v8i 08.11.09.608 Ours : V8 08.05.02.35[/quote]Those versions of MicroStation are very different. Some VBA interfaces in MicroStation V8i (customer version) may...
View Article