YviKyvi
Mechanical
- Feb 3, 2020
- 12
Hey,
I guess this is a really basic question, but I can't make it work on my own:
I have 30 different VB-projects which base on BlockStyler code. Some of the actions I want to use in the different Blockstyler are the same. Therefore I want to write the method once and use it in all projects. For example I am creating a Csys at the centroid of a selected body.
1. Is this even possible? I am struggeling with the use of the Blocksytlers objects (e.g. the selectObject) in the other class. giving it as input didn't work.
2. If it is possible, how can I make it work? How do I use for example the same "workPart" element?
I am really confused now, because I think it should be easy. I am working with NX12 and Visual Basic.
I would love to get some help here.
Thanks,
Yvi
I guess this is a really basic question, but I can't make it work on my own:
I have 30 different VB-projects which base on BlockStyler code. Some of the actions I want to use in the different Blockstyler are the same. Therefore I want to write the method once and use it in all projects. For example I am creating a Csys at the centroid of a selected body.
1. Is this even possible? I am struggeling with the use of the Blocksytlers objects (e.g. the selectObject) in the other class. giving it as input didn't work.
2. If it is possible, how can I make it work? How do I use for example the same "workPart" element?
I am really confused now, because I think it should be easy. I am working with NX12 and Visual Basic.
I would love to get some help here.
Thanks,
Yvi