VBA: insert content center pipe with custom length
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
He guys and girls.
2 questions in this post.
1)
I have been reading alot but nothing realy helps my problem.
We have in our firm our pipes wich are in the content centre. The pipes are selectable with fixed diameters, and length can be anything.
See screenshot.
I use : family.CreateMember(4, failureReason, failureMessage, kRefreshOutOfDateParts, False)
wich in this case row 4 is Ø80, to insert the pipe later on.
My question is how do I specify the Length parameter?
My goal is to have the parts be standard content centre parts. A coworker has made this macro and inserts the pipe as a custom part, and then changes the custom property to the value measured before.
2)
But I would still like to be able to use the content centre "change size" command afterwards if needed.
Wich is my second question because I can't find anything about that. Once the pipe is placed I would like to be able to measure again and have the pipe change automaticly. Not replace with a new custom part but in the same way the content centre does.
I have no idea what the command is in VBA.
Thank you.