×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Array of Points - CATIA

Array of Points - CATIA

Array of Points - CATIA

(OP)
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.

RE: Array of Points - CATIA

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: VERY Useful Catia VBA Functions) ... 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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources