if I have a vb.net script in which i say
dim newgmtry as new OnSurface
and
doc.AddSurfaceObject(newgmtry, att)
(where att=the name of the geometry)
Can I change the script using string inputs to say:
dim newgmtry as new OnCurve
and
doc.AddCurveObject(newgmtry, att)
using a string input to the VB.net component?
can OnSurface, OnCurve and AddSurfaceObject and AddCurveObject be string variables?
I have added a screenshot to illustrate what I would like to do.
Thanks in advance
Tags:
- Attachments:
-