×
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

VB script for a blend with variable number of coupling points

VB script for a blend with variable number of coupling points

VB script for a blend with variable number of coupling points

(OP)
Hi ENG-Tips,

(long time reader, first time poster)

I'm getting to grips with scripting in CATv5r19 VBA, and have come up against a problem in excess of my (somewhat meagre) ability:

I wish to automate the creation of a blend surface between two guides, using coupling points that are referred to in a spreadsheet.

The problem is, the number of coupling points may change, so i need a way to accommodate this in the script which creates the blend.

My spreadsheet creates the coupling points, and there is a cell which is a 'readout' of the total number of these; what I need is a way to insert them into the blend script at creation, regardless of how many or few there are.

I'm assuming I need a Sub that parses the coupling points, creates the catia code for them and inserts that into the blend operation.

But how to do that has me stumped.

Any ideas?

thanks in advance

Jarmusch


 

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