Hi All,
I am looking for a .NET function to replicate the GUI function of 'Steel - Modelling - Modify Steelwork - Compare Parts ' which compares two parts in the same drawing.
What I am trying to achieve is to check if all parts with the same PosNum…
Hello,
I'm trying to get the diagonal of the bounding box of a model. I'm assuming that the DRange3d object is a representation of the bounding box? I'm using the following Code:
DgnModel dgnModel;
StatusInt statusInt = dgnModel.GetRange(out DRange3d…
Hello All,
In ProjectWise Explorer CONNECT Edition, we can get Change State/Next/Previous buttons to the toolbar, but the Approve and Revise are missing. Is it possible to add via ProjectWise SDK/API? Any advice? View > Toolbar > Customize > Commands…
Hi everyone,
I have a question regarding being able to recognize individual wall elements especially the wall's centerlines in a 2D MicroStation Drawing. My end goal is to use the centerline information of each wall object to recreate the wall in…
Hallo,
I am converting existing add-ins that were written in C# using the COM Interop on V8i SS4 to the new CONNECT NET API and I would like to get rid of any remaining calls to the COM Interface where possible. To achieve that goal, I need to find…
Hi,
I am stuck with the below issue while using ProjectWise SDK for fetching documents. Any solution or pointers would be really helpful.
I am fetching documents from a given project using aaApi_SelectDocumentsByProp method call. I then extract few…
Hello again,
I am using V8i Select Series 4, C# addin development.
Is it possible to add/remove/update tasks in the task bar from the addin? I added the below "Custom Toolbar" toolbar/task manually and would like to manipulate it from the addin. …
This seems like it should be easy but I'm having trouble using the ProStructures API with my C# plugin for ProStrutures on AutoCAD. I have referenced the ProStructuresNet.dll library into my project along with the usual AutoCAD libraries. I can use the…
Does ProStructures or ProSteel provide an API ? Is the API included with the product or provided with a separate SDK ?
What languages are supported?
VBA
C#
C++
Glossary
API: Application Programming Interface
SDK: Software Developer…
using AECOsim Building Designer ,I want to add TF Linear Element to model reference ,is it possible programmatically ?
TFFormRecipeLinearList formList = Program.tfApp.CreateTFFormRecipeLinear();
TFFormRecipeLinear linearForm = formList.AsTFFormRecipeLinear;…
All,
I have configured categories in GSA for all features and below is one of the example
Is it possible to retrieve the category name of a feature configured in GSA using C#? I have tried IStorageImportCriteria and IClassImportCriteria but could…
I have been able to find a couple of post on this topic but none that contain a solution. I am using the ProjectWise SDK through C#/VB.NET to copy a folder structure. Using the aaApi_CopyProjectWithHierarchy command, I am able to successfully copy a Rich…
I just created C++ wrapper library to be called from c#. This works fine but how can I create another version of same name document in lieu of overwriting existing one?
In addition, is there any API reference source I can use to figure out this kind…
HI all!
I need to know how use the move operation in Bentley Map.
Actually, in C# i write this code:
Bentley.Interop.Xft.MoveOp op = new Bentley.Interop.Xft.MoveOp();
Bentley.Interop.Xft.CmdMgrClass mgr = new Bentley.Interop.Xft.CmdMgrClass…
I have a c# app developed in visual studio 2012 that references bentley.interop.microstationdgn.dll to process dgn files.
When I run the app in studio it works fine but, when I try to run it outside of studio, I get the following error:
Retrieving…
Hi Everyone,
I try to set property on feature like this
oFeature.SetProperty("PROPERTYNAME", Value); oFeature.ApplyAttributeChanges(); oFeature.Write(true);
everything is good but when i open Data Browser in Bentley the result is:
Unable to…
Hi,
I have problem when use GetProperty("INSTALLDATE") from Dateticks Type Property method is return String like this "635590796670000000".
How to convert this string to DateTime type?
Hello,
I would like to know if and how I can place a text node using .NET addin by using true word wrap? I need to set an area that text must fit in. I know I can set the number of characters in line like this:
textNode.LineLength = 100;
But this…
I have been using aaApi_GetDocumentStringProperty to obtain property values from document. That works pretty straight forward.
Unfortunately I also want to assign new values to the document properties. I cannot seem to find something like "aaApi_SetDocumentStringProperty…
I have a C# script designed to scan dgn files in a selected directory and generate a report on the files scanned. The script is written to run outside of microstation and it works fine.
The problem is when clients attempt to run more than one instance…
Thanks Mr. Jon
Please find the Extract.rar.
This is a sample C++ project to copy element made in visual studio 2008.
Please can you give any suggestion to make a .ma or .dll file so that i can call it from microstation
Regards
Manoj
Hi All,
I am using Visual Studio 2010 , Microstaion V8i and C++/C#.net
I loaded the laser points to microstation using terrascan.
I want to create blocks along the center line having certain length and width.
i want to count the number of laser…
Hello,
I received your private message and answering your questions here so that others can benefit.
What is WaterObjects.NET API?
API is Application Programming Interface. In simple terms, it’s a way to communicate with the software or to its…
Hi everyone,
I've hit a bit of a brick wall and I am running out of clues on how else to debug this problem. In a nutshell, I've got C# wrapper classes written around the ProjectWise API and in turn, this library is consumed and used by an MVC3 web…
Is there a API to merge two files
Problem :
Need API to merge two DGN files or alternative method without using keyins
MicrostationDGNApp.CadInputQueue.SendCommand("DIALOG REFERENCE TOGGLE ");
MicrostationDGNApp.CadInputQueue.SendCommand(…