Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Array of Points - CATIA

Status
Not open for further replies.

lemmiwinks43

Computer
Nov 16, 2017
3
US
I'd like to create an array of points, including their associated properties: x, y, z, (etc.), using VB. I am working on a script to create a Point class, and add the properties in as member variables of a Point object. Is this possible in VB?

Has anyone done something like this before? I have also considered creating an array of hybridshape objects, but I'm not sure if I can collect all of the information I'd like from each point.
 
Replies continue below

Recommended for you

In my last script I was about to create a new class for point when I changed my mind and used the Type function instead (just like in faq560-1824) ... I had points in collections. I use collection so I can do for each x in y...

I am not VB expert but I think you can have your own object from your own class in an array.

Eric N.
indocti discant et ament meminisse periti
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top