×
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

List of API SW keywords

List of API SW keywords

List of API SW keywords

(OP)
Do any of you API guru's out there have a list of SolidWorks API keywords and their arguments that you use as a reference?

Joe Hasik, CSWP
SW 08 x64, SP 3.0
Dell T3400
Intel Core2 Quad
Q6700 2.66 GHz
3.93 GB RAM
NVIDIA Quadro FX 4600

RE: List of API SW keywords

Try the API help yet?  That's about as comprehensive a list as there is.

batHonesty may be the best policy, but insanity is a better defense.bat
http://www.EsoxRepublic.com-SolidWorks API VB programming help

RE: List of API SW keywords

(OP)
My deisgner that handles the coding was going through there, I think he was just hoping for a basic "Here's the Keyword, these are its arguments". But if there isn't then there isn't.

Joe Hasik, CSWP
SW 08 x64, SP 3.0
Dell T3400
Intel Core2 Quad
Q6700 2.66 GHz
3.93 GB RAM
NVIDIA Quadro FX 4600

RE: List of API SW keywords

That's kind sorta exactly how the help files are structured.

Quote (APIhelp):

Syntax (OLE Automation)

Retval = CustomPropertyManager.Add2 ( FieldName, FieldType, FieldValue)

 

Input:
 (BSTR) FieldName
 Name of custom property
 
Input:
 (long) FieldType
 Type of custom property as defined in swCustomInfoType_e
 
Input:
 (BSTR) FieldValue
 Value of custom property
 
Output:
 (long) Retval
 1 if custom property is added, 0 if not

RE: List of API SW keywords

Does your designer know about the API Help? In SolidWorks go to the Help menu and select "SolidWorks Add-In's and API Help" or something like that. There is no API help in the standard Help files (i.e. like hitting F1 or selecting Help/SolidWorks)

Ken

RE: List of API SW keywords

(OP)
From what he was telling me yesterday he knew about the API help files, but he missed the fact that the keywords are listed by topic, i.e. Routing API. He was hoping for a single compiled list of all the API commands in a single location.

Joe Hasik, CSWP
SW 08 x64, SP 3.0
Dell T3400
Intel Core2 Quad
Q6700 2.66 GHz
3.93 GB RAM
NVIDIA Quadro FX 4600

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