Bentley Communities
Site
Search
User
Site
Search
User
Welcome
Products
Support
About
More
Cancel
Browse By Tags
All tags
c#
API
.dgn
.NET
.NET dotNET C# CSharp
addin
API SDK programming
Application Development
Bentley Developer Network
Building applications
C sharp
C++
CadInputQueue.Sendcommand
COM
CONNECT Edition
development
DGN
Learning MicroStation VBA
MicroStation
MicroStation Programming
MicroStation V8i
MicroStationAPI
programmer
Programming
ProjectWise
SDK
v8i
.NET API for 'Steel - Modelling - Modify Steelwork - Compare Parts'
Tony Zhang
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…
7 months ago
ProStructures
ProSteel Forum
Getting the diagonal of the bounding box of a model [Microstation Connect 10.60.00.80 C#]
Max K
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…
over 1 year ago
MicroStation Programming
MicroStation Programming Forum
Add Change State Approve/Revise button to ProjectWise toolbar
Bhanu Chauhan
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…
over 2 years ago
ProjectWise Programming
ProjectWise Programming Forum
[CONNECT Update 14 C#] Getting all of the Wall Centerlines from a DGN Drawing Automatically
Kevin Richard Anggrek
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…
over 3 years ago
MicroStation Programming
MicroStation Programming Forum
[CONNECT C#] Managed Equivalents for older COM Interop Calls
Francois Grobler
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…
over 3 years ago
MicroStation Programming
MicroStation Programming Forum
ProjectWise api aaApi_SelectDocumentsByProp call fails with Error code:50045 No database connection is active at the moment
Senthil Kandasamy
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…
over 4 years ago
ProjectWise
ProjectWise Design Integration Forum
[V8i C# Addin] Manipulate the Tasks Panel
Skyler Hamilton
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. …
Answered
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
ProStructures API - ProStructuresNet.dll
Marc Whitburn
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…
over 5 years ago
ProStructures
ProSteel Forum
ProStructures API or SDK
Jon Summers
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…
Answered
over 6 years ago
ProStructures
ProSteel Forum
create Linear Form by c# ,AECOsim
Ameer Mansour
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;…
over 6 years ago
MicroStation Programming
MicroStation Programming Forum
V8i C# SS3 - Is it possible to extract the category of feature configured in GSA
bjasti
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…
over 8 years ago
Geospatial Programming
Geospatial Programming Forum
How can I update Project Properties for a defined Project Type on a Rich Project through the SDK with C#/VB.NET?
Stephen C
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…
over 8 years ago
ProjectWise Programming
ProjectWise Programming Forum
aaAPI_CreateDocument Version String argument format?
Hongseok Cha
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…
over 8 years ago
ProjectWise Programming
ProjectWise Programming Forum
Learning about XFT Move Operation in Map
Renato Cartesio
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…
over 8 years ago
Geospatial Programming
Geospatial Programming Forum
COM error from c# app outside VS?
TMA
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…
over 8 years ago
MicroStation Programming
MicroStation Programming Forum
C# Feature SetProperty method problem
Nikolay Tsonev
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…
Answered
over 8 years ago
OpenCities Map
OpenCities Map Forum
C# GetPropery() from Dateticks Type Property
Nikolay Tsonev
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?
Answered
over 8 years ago
OpenCities Map
OpenCities Map Forum
[V8i C#] TextNode WordWrap
Nikemundo
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…
Answered
over 8 years ago
MicroStation Programming
MicroStation Programming Forum
Setting document properties through API
Leif Frederiksen
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…
over 8 years ago
ProjectWise Programming
ProjectWise Programming Forum
[v8i SS2 (08.11.07.443) C#] System.Runtime.InteropServices.COMException...
TMA
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…
over 9 years ago
MicroStation Programming
MicroStation Programming Forum
RE: Create Blocks along center line and count points opened in micro station using Terra scan
Manoj_Pal
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
Extract.rar
over 9 years ago
MicroStation Programming
MicroStation Programming Forum
Create Blocks along center line and count points opened in micro station using Terra scan
Manoj_Pal
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…
over 9 years ago
MicroStation Programming
MicroStation Programming Forum
Re: can a program in Matlab call external program WaterGEMS
Akshaya Niraula
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…
over 10 years ago
OpenFlows | Water Infrastructure
OpenFlows | Water Infrastructure Forum
ProjectWise SDK and C# Wrapper Classes - Heap Corruption
Nicholas Chong
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…
over 10 years ago
ProjectWise Programming
ProjectWise Programming Forum
[V8i c#] Is there a API to merge two files
thangaraju s
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(…
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
>