×
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

adding custom structural member

adding custom structural member

adding custom structural member

(OP)
I work for a lighting fixture design company, and I'm trying to add a track lighting extrusion to my toolbox.  It would work just like the steel beams that come in the standard toolbox.  The problem is i cant link a custom property called length to the dimension associated with the extrusion.  Tech support said there's no way to do it inside solidworks, so I'm trying to do it through the API.  Has anyone encountered this problem before?  We really need this to work, to avoid creating 1000 different configurations for each 1/8 inch increment possible.

Thanks,
Peter Jelliffe

RE: adding custom structural member

You can have the custom property reflect the dimension, but you can't have the dimension be controlled by the custom property.

RE: adding custom structural member

(OP)
RIght, but how does SOlidWorks do it?  It must be possible somehow if they managed.  Do you think it could be done through the API?

RE: adding custom structural member

Model your part.  Add a dimension with the dimension tool so it is visible in the model.  Go to file/properties/custom and create a "length" custom property.  Click on the visible dimension in the graphics window and it should show in the value box in custom properties.  Now RMB the annotations folder and pick hide dimensions.  The custom property will update with the model change.

I'm not sure if this is what you are trying to achieve but thought I would throw it out there.

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