# .Net Add-on Programming

**URL:** https://forum.visualcomponents.com/c/net-addon-programming/13.md?page=3

[Latest](https://forum.visualcomponents.com/latest.md) · [Categories](https://forum.visualcomponents.com/categories.md)

**Page:** 4

---

## [How to get selected processGroups?](https://forum.visualcomponents.com/t/how-to-get-selected-processgroups/6200)

<div class="topic-metadata">

**Author:** [@Alis](https://forum.visualcomponents.com/u/Alis)\
**Replies:** 0\
**Last updated:** [February 27, 2024, 12:24pm UTC](https://forum.visualcomponents.com/t/how-to-get-selected-processgroups/6200 "2024-02-27T12:24:56Z")

</div>

I want to get selected elements (processGroups) from Process Flow Editor by my button. Like this I haven’t found something similar in DocableScreen of Process Flow Editor Can I get it somehow? Or I have to make my …

---

## [How to get the processing time during the transportation by a generic robot](https://forum.visualcomponents.com/t/how-to-get-the-processing-time-during-the-transportation-by-a-generic-robot/6187)

<div class="topic-metadata">

**Author:** [@royjuventus29](https://forum.visualcomponents.com/u/royjuventus29)\
**Replies:** 0\
**Last updated:** [February 24, 2024, 3:40pm UTC](https://forum.visualcomponents.com/t/how-to-get-the-processing-time-during-the-transportation-by-a-generic-robot/6187 "2024-02-24T15:40:38Z")

</div>

In process modeling, I use a generic robot to pick and place products, which is shown as the following picture. Is it possible to get the robot transportation processing time. How to get this value?

---

## [How to get the IGeometryFeature of an IProductType](https://forum.visualcomponents.com/t/how-to-get-the-igeometryfeature-of-an-iproducttype/6177)

<div class="topic-metadata">

**Author:** [@royjuventus29](https://forum.visualcomponents.com/u/royjuventus29)\
**Replies:** 0\
**Last updated:** [February 22, 2024, 10:15pm UTC](https://forum.visualcomponents.com/t/how-to-get-the-igeometryfeature-of-an-iproducttype/6177 "2024-02-22T22:15:47Z")

</div>

I would like to get the geometry information of a product. Is there a solution for this?

---

## [ProductCreator set enabled = false](https://forum.visualcomponents.com/t/productcreator-set-enabled-false/6134)

<div class="topic-metadata">

**Author:** [@captain\_feature](https://forum.visualcomponents.com/u/captain_feature)\
**Replies:** 4\
**Last updated:** [February 20, 2024, 5:45am UTC](https://forum.visualcomponents.com/t/productcreator-set-enabled-false/6134 "2024-02-20T05:45:45Z")

</div>

Hy, I can’t find the IsEnabled-Property in component behaviours? Has someone a good advice to deactivate this by .Net-Code? Thx & Regards

---

## [How to get View class of WPF?](https://forum.visualcomponents.com/t/how-to-get-view-class-of-wpf/6136)

<div class="topic-metadata">

**Author:** [@Alis](https://forum.visualcomponents.com/u/Alis)\
**Replies:** 1\
**Last updated:** [February 13, 2024, 4:56pm UTC](https://forum.visualcomponents.com/t/how-to-get-view-class-of-wpf/6136 "2024-02-13T16:56:14Z")

</div>

I’m using WPF, so I created myViewModel : DockableScreen and linked MyView : UserControl class. I wish to get access to MyView class in plugin, but I can’t find a direct way to MyView even from myViewModel public pa…

---

## [How to draw on 2D plane?](https://forum.visualcomponents.com/t/how-to-draw-on-2d-plane/6122)

<div class="topic-metadata">

**Author:** [@Alis](https://forum.visualcomponents.com/u/Alis)\
**Replies:** 2\
**Last updated:** [February 12, 2024, 3:17pm UTC](https://forum.visualcomponents.com/t/how-to-draw-on-2d-plane/6122 "2024-02-12T15:17:35Z")

</div>

I’m trying to use 2D plane for my own things, but I was totally lost in making a single line. I found how to switch to 2D drawing, found IDrawingView that looking reliable for making any figure, but I don’t understand ho…

---

## [Awsome "Robot sorting (By Payload etc.)" Panel](https://forum.visualcomponents.com/t/awsome-robot-sorting-by-payload-etc-panel/273)

<div class="topic-metadata">

**Author:** [@line\_out](https://forum.visualcomponents.com/u/line_out)\
**Replies:** 13\
**Last updated:** [February 8, 2024, 8:38am UTC](https://forum.visualcomponents.com/t/awsome-robot-sorting-by-payload-etc-panel/273 "2024-02-08T08:38:42Z")

</div>

Use cases: Find a robot for a certain payload / application / manufacturer in a quick and easy way and then load it to your layout! When you run the addon the first time, it requires and internet connection to download…

---

## [How to get IProcessController?](https://forum.visualcomponents.com/t/how-to-get-iprocesscontroller/6075)

<div class="topic-metadata">

**Author:** [@Alis](https://forum.visualcomponents.com/u/Alis)\
**Replies:** 2\
**Last updated:** [January 30, 2024, 11:23am UTC](https://forum.visualcomponents.com/t/how-to-get-iprocesscontroller/6075 "2024-01-30T11:23:55Z")

</div>

I wish to get information about all existing processes (groups, ids, executors, etc.). For this I tried to use IProcessController and IProcessManager, but I don’t know how. IoC like this: IProcessController pc = IoC.Ge…

---

## [Get ISimComponent from ProcessNode](https://forum.visualcomponents.com/t/get-isimcomponent-from-processnode/6055)

<div class="topic-metadata">

**Author:** [@captain\_feature](https://forum.visualcomponents.com/u/captain_feature)\
**Replies:** 1\
**Last updated:** [January 23, 2024, 6:55pm UTC](https://forum.visualcomponents.com/t/get-isimcomponent-from-processnode/6055 "2024-01-23T18:55:54Z")

</div>

Hy, is there any way to get the ISimComponent from an identified IProcessGroup or an implementation of it like: Or the other way around get ProcessExecuter or TransportNode in ISimComponent an get this unique IProcessG…

---

## [Net. Write a good DLL in VC inside how to reference it?](https://forum.visualcomponents.com/t/net-write-a-good-dll-in-vc-inside-how-to-reference-it/5190)

<div class="topic-metadata">

**Author:** [@Devil](https://forum.visualcomponents.com/u/Devil)\
**Replies:** 5\
**Last updated:** [June 28, 2023, 6:26am UTC](https://forum.visualcomponents.com/t/net-write-a-good-dll-in-vc-inside-how-to-reference-it/5190 "2023-06-28T06:26:49Z")

</div>

net. Write a good DLL in VC inside how to reference it?

---

## [.NET secondary development](https://forum.visualcomponents.com/t/net-secondary-development/5989)

<div class="topic-metadata">

**Author:** [@Steven1](https://forum.visualcomponents.com/u/Steven1)\
**Replies:** 0\
**Last updated:** [January 9, 2024, 7:47am UTC](https://forum.visualcomponents.com/t/net-secondary-development/5989 "2024-01-09T07:47:36Z")

</div>

Hello everyone, I am studying .NET secondary development, but unfortunately, when I refer to the secondary development on YouTube’s official website to add references, my document does not have the dll file in the video.…

---

## [Running existing VC commands from .NET](https://forum.visualcomponents.com/t/running-existing-vc-commands-from-net/5881)

<div class="topic-metadata">

**Author:** [@Zemanos](https://forum.visualcomponents.com/u/Zemanos)\
**Replies:** 2\
**Last updated:** [December 20, 2023, 1:22pm UTC](https://forum.visualcomponents.com/t/running-existing-vc-commands-from-net/5881 "2023-12-20T13:22:35Z")

</div>

Hello, I am trying to run existing commands like Measure or Snap from my custom .NET function. After executing fuction according to their ID nothing happend. So i tried another existing function and find out some strang…

---

## [CustomPositionStatementBase execute Positionframes](https://forum.visualcomponents.com/t/custompositionstatementbase-execute-positionframes/5830)

<div class="topic-metadata">

**Author:** [@towag](https://forum.visualcomponents.com/u/towag)\
**Replies:** 0\
**Last updated:** [November 28, 2023, 3:23pm UTC](https://forum.visualcomponents.com/t/custompositionstatementbase-execute-positionframes/5830 "2023-11-28T15:23:17Z")

</div>

How can execute the List oft Positions in a CustomPositionStatementBase ?

---

## [AddMenuItem for .Net](https://forum.visualcomponents.com/t/addmenuitem-for-net/4935)

<div class="topic-metadata">

**Author:** [@ManuelRoppelt](https://forum.visualcomponents.com/u/ManuelRoppelt)\
**Replies:** 4\
**Last updated:** [November 22, 2023, 12:52pm UTC](https://forum.visualcomponents.com/t/addmenuitem-for-net/4935 "2023-11-22T12:52:43Z")

</div>

Is there a way to add MenuItems in .Net similar to this Python code? addMenuItem('VcConfigure3DContextMenu', title, -1, cmdName, r'Gallery\\Tools\\rMergeFaces') I couldn’t find anything in the .Net API Thank you in ad…

---

## [How to Modify Signal Actions of the Robot via .Net?](https://forum.visualcomponents.com/t/how-to-modify-signal-actions-of-the-robot-via-net/2291)

<div class="topic-metadata">

**Author:** [@Roy](https://forum.visualcomponents.com/u/Roy)\
**Replies:** 2\
**Last updated:** [November 13, 2023, 4:47pm UTC](https://forum.visualcomponents.com/t/how-to-modify-signal-actions-of-the-robot-via-net/2291 "2023-11-13T16:47:22Z")

</div>

Hello, I’m going to make a weld visualization by using “Swept Volumn”. I need to modify some of the action properties frequently, I want to config the action in the background by C# ,instead of manual configuration. …

---

## [IVideoRecorder H.264 Codec Output](https://forum.visualcomponents.com/t/ivideorecorder-h-264-codec-output/5749)

<div class="topic-metadata">

**Author:** [@Stundinga](https://forum.visualcomponents.com/u/Stundinga)\
**Replies:** 0\
**Last updated:** [November 13, 2023, 9:58am UTC](https://forum.visualcomponents.com/t/ivideorecorder-h-264-codec-output/5749 "2023-11-13T09:58:50Z")

</div>

Hello, When I try to use the IVideoRecorder Codec and set it so H.264 the saved video is always in H.263 mpeg format which isn’t supported by my media player. Is this a known issue? Or does anyone know a solution?

---

## [NET. Can you save data to VCMX files and extract the data saved to VCMX files?](https://forum.visualcomponents.com/t/net-can-you-save-data-to-vcmx-files-and-extract-the-data-saved-to-vcmx-files/5593)

<div class="topic-metadata">

**Author:** [@Devil](https://forum.visualcomponents.com/u/Devil)\
**Replies:** 6\
**Last updated:** [October 12, 2023, 9:15am UTC](https://forum.visualcomponents.com/t/net-can-you-save-data-to-vcmx-files-and-extract-the-data-saved-to-vcmx-files/5593 "2023-10-12T09:15:05Z")

</div>

Hey guys, I’m currently doing NET.Want to save data to VCMX file, and read or extract my data saved in VCMX file, can it be achieved? Is there a case?

---

## [Save Statistics by code](https://forum.visualcomponents.com/t/save-statistics-by-code/5533)

<div class="topic-metadata">

**Author:** [@captain\_feature](https://forum.visualcomponents.com/u/captain_feature)\
**Replies:** 2\
**Last updated:** [September 21, 2023, 2:42pm UTC](https://forum.visualcomponents.com/t/save-statistics-by-code/5533 "2023-09-21T14:42:44Z")

</div>

Hy, is there an elegant way to save statistics to a path by .Net-Api? Thx & Regards Feature

---

## [How to control the hiding and displaHow to control the hiding and display of UI forms written by yourself in VC NET. user controls？y of UI forms](https://forum.visualcomponents.com/t/how-to-control-the-hiding-and-displahow-to-control-the-hiding-and-display-of-ui-forms-written-by-yourself-in-vc-net-user-controls-y-of-ui-forms/5478)

<div class="topic-metadata">

**Author:** [@Devil](https://forum.visualcomponents.com/u/Devil)\
**Replies:** 5\
**Last updated:** [September 21, 2023, 5:57am UTC](https://forum.visualcomponents.com/t/how-to-control-the-hiding-and-displahow-to-control-the-hiding-and-display-of-ui-forms-written-by-yourself-in-vc-net-user-controls-y-of-ui-forms/5478 "2023-09-21T05:57:12Z")

</div>

Hey, does anyone know how to implement the buttons of the ribbon in NET.to control the display and hiding of user controls? Is there code for implementation?

---

## [Save current project as](https://forum.visualcomponents.com/t/save-current-project-as/5511)

<div class="topic-metadata">

**Author:** [@Cedrik](https://forum.visualcomponents.com/u/Cedrik)\
**Replies:** 1\
**Last updated:** [September 19, 2023, 4:28am UTC](https://forum.visualcomponents.com/t/save-current-project-as/5511 "2023-09-19T04:28:24Z")

</div>

Hello, is there a way to simply save the current vc project with a name and directory given in the .Net plugin? I want the current project to be saved via a costum button which gives the project a unified name for my wan…

---

## [Create Process Statement Labels by Code](https://forum.visualcomponents.com/t/create-process-statement-labels-by-code/5429)

<div class="topic-metadata">

**Author:** [@ManuelRoppelt](https://forum.visualcomponents.com/u/ManuelRoppelt)\
**Replies:** 3\
**Last updated:** [August 28, 2023, 2:06pm UTC](https://forum.visualcomponents.com/t/create-process-statement-labels-by-code/5429 "2023-08-28T14:06:15Z")

</div>

Hello, is there a possibility to create labels like the Process Statement Labels by code (.NET)? Thank you very much!

---

## [Validate VCID](https://forum.visualcomponents.com/t/validate-vcid/5421)

<div class="topic-metadata">

**Author:** [@captain\_feature](https://forum.visualcomponents.com/u/captain_feature)\
**Replies:** 2\
**Last updated:** [August 25, 2023, 8:45pm UTC](https://forum.visualcomponents.com/t/validate-vcid/5421 "2023-08-25T20:45:04Z")

</div>

Hello, may someone has a robust method for check if string is vcid or does VC provide this already somewhere in public API, like: Maybe there is an faster approach? Thx & Regards Feature

---

## [How to excute when button controltype is 'ExToggleButton'](https://forum.visualcomponents.com/t/how-to-excute-when-button-controltype-is-extogglebutton/1687)

<div class="topic-metadata">

**Author:** [@goodl](https://forum.visualcomponents.com/u/goodl)\
**Replies:** 9\
**Last updated:** [August 25, 2023, 3:59am UTC](https://forum.visualcomponents.com/t/how-to-excute-when-button-controltype-is-extogglebutton/1687 "2023-08-25T03:59:04Z")

</div>

\[Export(typeof(IPlugin))\] \[Export(typeof(IActionItem))\] public class DebugAction : ActionItem, IPlugin, IHandle\<ManipulationModeChangedMessage\> { private bool \_canExecute; public new bool CanExecute { …

---

## [BoundBox of all components](https://forum.visualcomponents.com/t/boundbox-of-all-components/5410)

<div class="topic-metadata">

**Author:** [@captain\_feature](https://forum.visualcomponents.com/u/captain_feature)\
**Replies:** 1\
**Last updated:** [August 22, 2023, 1:53pm UTC](https://forum.visualcomponents.com/t/boundbox-of-all-components/5410 "2023-08-22T13:53:37Z")

</div>

Hy, is there a way to get a summary boundbox of all components in VcWorld? Thx & Regards Feature

---

## [Simulation.Run() method](https://forum.visualcomponents.com/t/simulation-run-method/5397)

<div class="topic-metadata">

**Author:** [@Stundinga](https://forum.visualcomponents.com/u/Stundinga)\
**Replies:** 5\
**Last updated:** [August 22, 2023, 5:30am UTC](https://forum.visualcomponents.com/t/simulation-run-method/5397 "2023-08-22T05:30:55Z")

</div>

Hello, i am trying to start a VC Simulation by pressing a Button in a Web Interface like this. IMessageService msservice = IoC.Get\<IMessageService\>(); \_connection.On("StartSimulation", () =\> { \_app.Simula…

---

## [How to set feature origin in visual component use C#](https://forum.visualcomponents.com/t/how-to-set-feature-origin-in-visual-component-use-c/5401)

<div class="topic-metadata">

**Author:** [@wanchun.yan](https://forum.visualcomponents.com/u/wanchun.yan)\
**Replies:** 0\
**Last updated:** [August 19, 2023, 5:29pm UTC](https://forum.visualcomponents.com/t/how-to-set-feature-origin-in-visual-component-use-c/5401 "2023-08-19T17:29:31Z")

</div>

I need to figure out how to batch set feature origin to a specific point, such as feature boundcenter, setting the origin of one beam at a time is also very time-consuming

---

## [Socket Connectivity](https://forum.visualcomponents.com/t/socket-connectivity/830)

<div class="topic-metadata">

**Author:** [@Jay](https://forum.visualcomponents.com/u/Jay)\
**Replies:** 6\
**Last updated:** [September 27, 2022, 6:53am UTC](https://forum.visualcomponents.com/t/socket-connectivity/830 "2022-09-27T06:53:43Z")

</div>

A very simple demo project that shows how to connect to VC application using socket. This simple example has two parts: client (VCSocketConnectivityClient) and server (Plugin.Socket). The server dll (Plugin.Socket) is…

---

## [Selected feature is not highlighted green](https://forum.visualcomponents.com/t/selected-feature-is-not-highlighted-green/5360)

<div class="topic-metadata">

**Author:** [@captain\_feature](https://forum.visualcomponents.com/u/captain_feature)\
**Replies:** 0\
**Last updated:** [August 8, 2023, 9:17am UTC](https://forum.visualcomponents.com/t/selected-feature-is-not-highlighted-green/5360 "2023-08-08T09:17:15Z")

</div>

Hy, I assign custom materials to nodes and features of an component. → Unfortunately some of them are not highlighted in green when I’m selecting it in modelling tab. Is there something I’ve missed? Thx & Regards Fea…

---

## [When the joint value of the VC software robot is continuously changed in NET.multithread, it will cause the VC to report an error and crash when running for a long time](https://forum.visualcomponents.com/t/when-the-joint-value-of-the-vc-software-robot-is-continuously-changed-in-net-multithread-it-will-cause-the-vc-to-report-an-error-and-crash-when-running-for-a-long-time/5358)

<div class="topic-metadata">

**Author:** [@Devil](https://forum.visualcomponents.com/u/Devil)\
**Replies:** 1\
**Last updated:** [August 8, 2023, 8:59am UTC](https://forum.visualcomponents.com/t/when-the-joint-value-of-the-vc-software-robot-is-continuously-changed-in-net-multithread-it-will-cause-the-vc-to-report-an-error-and-crash-when-running-for-a-long-time/5358 "2023-08-08T08:59:58Z")

</div>

Excuse me, I’m having a problem at the moment. When I continuously change the joint value of the VC software robot in NET.multithread, it will cause the VC to report an error and crash when running for a long time. Visua…

---

## [Attach/Detach by .Net-Api](https://forum.visualcomponents.com/t/attach-detach-by-net-api/5341)

<div class="topic-metadata">

**Author:** [@captain\_feature](https://forum.visualcomponents.com/u/captain_feature)\
**Replies:** 1\
**Last updated:** [August 3, 2023, 3:04pm UTC](https://forum.visualcomponents.com/t/attach-detach-by-net-api/5341 "2023-08-03T15:04:57Z")

</div>

Hy, is there some .net-api for this: Thx & Regards Feature

[Previous page](https://forum.visualcomponents.com/c/net-addon-programming/13.md?page=2)

[Next page](https://forum.visualcomponents.com/c/net-addon-programming/13.md?page=4)
