![]() |
#1
|
|||
|
|||
![]()
So I have a cable stencil that will automatically add up to 10 wires if I right click and go to properties. This only adds wires on the left side of my stencil, but I would like them to also be added on the right side of the stencil.
Below is a picture and the shape file of the actual stencil. If you right click on the wires you can select properties at the top to add/delete/edit the wires. If someone can point me in a direction for a video, or if you have the solution that would be great! Thank you! Last edited by BobbyS; 12-20-2022 at 08:05 AM. Reason: Attatchments |
#2
|
|||
|
|||
![]()
Attachments that were supposed to be on the original post....
|
#3
|
||||
|
||||
![]()
That is a tricky little shape with lots of moving parts so it is hard to describe the various pieces that have to change.
I've amended it along the lines you asked for and added a couple of other settings so you can also vary the spacing and length of the lines. If you want to study the changes I made: Master shape - see ShapeSheet sections: Controls, User Defined, Shape Data Child Shapes - see ShapeSheet sections: 1-D Endpoints, Geometry 1
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#4
|
|||
|
|||
![]()
Awesome, you're amazing. Thank you for the response it's very appreciated! I'll definitely look into the changes. I believe I was close to getting it, but I was missing a little detail somewhere.
|
#5
|
|||
|
|||
![]()
Again, thank you for the previously reply. After finally getting around to test the stencil out Wire-2 acts kind of funky. See attached picture. It is ONLY Wire-2. I can't figure out why the elbow part of it goes the opposite direction it should.
Also, if I wanted to add 2 more wire slots do I just create more rows in the shape sheet? I just can't seem to figure out where the drawing of the wire is done in the shape sheet. Thanks for any help |
#6
|
||||
|
||||
![]()
You need to understand that your 'shape' is actually a nest of shapes. The parent shape contains a bunch of children shapes. Each shape has its own shapesheet and formulas can point up to the parent shapesheet fields or any of the child shapesheet fields.
The reason you can't find the wires on the shapesheet is that the geometry of each wire is on each of the child shapesheets. To edit a child shapesheet, you need to click once on the parent shape (you will see the main shape handles show it is selected), THEN click on the wire (you should see the selection handles change to the line ONLY and the title in the Shape Data window changes to the Wire). NOW right click on that wire and choose to view the ShapeSheet. In the screenshot, you can see that in this case we are looking at the shapesheet for Wire2 and that the parent shape is called Sheet.1 so the formula that points at the position of Wire2's second geometry position is using the width of the line and 10% of the size in the parent shape's Scratch.B1 cell. To move that point to the right (instead of the left), change the minus to a plus =Width - 0.1*Sheet.1!Scratch.B1 should be =Width + 0.1*Sheet.1!Scratch.B1
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#7
|
|||
|
|||
![]()
Awesome, that makes a lot more sense, thank you!
|
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Excel 2003: VBA "Function" causes "#VALUE!" errors after running "insert/delete row" custom macro | Matt C | Excel Programming | 2 | 01-08-2022 06:03 AM |
Make "automatic" dimensions show all the time not just when editing | macleodal | Visio | 1 | 11-27-2018 08:48 PM |
How can I make VBA to "crop to fit" all pictures to picture placeholders across all slides at once? | jamesupshaw | PowerPoint | 3 | 04-28-2017 09:35 AM |
![]() |
Jamal NUMAN | Word | 1 | 09-03-2011 11:37 AM |
![]() |
Jamal NUMAN | Word | 2 | 07-03-2011 03:11 AM |