суббота, 18 августа 2018 г.

Implant text (pml, c#) part 1

Sometimes to implement in PDMS/E3D some useful functions C# language comes to help.
Examples you can found in the folder "Samples" with the program.
I want to make a function that would insert text into another text in the required position and return new line. And use it in PML. Go!

1. Run Visual Studio and make a project with name NetHelper.


2. Add reference to PMLNet.dll. It exists in program folder.


3. Change your class like that (link).


4. Add new class "StringExtension" and change it (link)




5. Build solution.

Sources

How to use the solution see next post.


Комментариев нет:

Отправить комментарий

comments?