Kent,
Hmmm, Option 2 sounds challenging. It seems like you would also need to ck
for the diameter of the holes to keep from inserting a fasten into the wrong
size hole. Then one would have to take into account the clearance hole
tolerance...
It sounds to me like Option 1 would be pretty useful and I'm wonder if
option 2 is worth the extra effort. One approach could be for you is to
step back one step and to have the operator locate all the hole centers
while still in sketch mode, (especially since this step must be done
anyway). Then upon selecting the fastener, all of the holes could be
"drilled" and the fasteners could be inserted. I believe that because the
hole direction is know, and the sketch is on the surface that the fasteners
could be located appropriately in one step. The advantage to this approach
is that several different sizes of fasteners could be "installed" without
having "collisions".
EdT
"Kent Keller" wrote in message
news:D6F450C6EDC0A865D36F37A763BB68C1@in.WebX.maYIadrTaRb...
> I don't have any problem with the seed hole in that context.
>
> Currently the dialog comes up with the Bolt Button down
> As soon as you select a circular edge it automatically pushes the Hole
button.
> After selecting a hole edge it inserts the bolt and allows you to flip and
set the offset.
> Once you are satisfied with it you have a choice(hopefully)
> Option 1. continue selecting holes and it will insert the bolts into
the IAM, and then
> add a insert constraint to the selected hole using all the params of the
first selection.
> This much works good from the little testing I have done.
> Option 2. Press the Face button and select a face, and it should find
all holes like
> the seed hole (first hole pick) and populate them with bolts with the
insert constraint
> using the same params as the seed bolt.
>
> This face selection is where I am currently having trouble getting from a
edgeloop of the
> seed hole on a "Instance", up to the "Definition" and determining if the
edge loop is a
> hole or a extrusion cut, and then doing the same with the face selection
for all the holes
> on that face. Unfortunately the "Instance" doesn't contain the info I
need, and once I
> get up to the Definition I am not sure how to make sure I am even dealing
with the same
> face or not.
>
> I think my brain is pretty much shot for this week.. I am probably doing
this completely
> the wrong way..... Maybe Monday a light will come on
>
> --
> Kent
> Assistant Moderator
> Autodesk Discussion Forum Moderator Program
>
>
> "Ed Thompson" wrote in message
> news:7FE87E1C422AB741FC4E5E15C8F597A8@in.WebX.maYIadrTaRb...
>
>
> > Here is a potential solution for applying your "seed" hole: If you
prompt
> > the operator to select all the desired holes, you could just cycle
through
> > the selection set. Then if the operator makes a "strange" selection,
they
> > can either undo it if they don't like the results or they can continue
on if
> > they really wanted something strange for some reason.
> >
> > I do like your idea of having the operator get one fastener correct,
flipped
> > in the right direction etc. and then to apply it to other positions.
This
> > seems to be a good balance between giving the operator considerable
control
> > while not forcing a lot of repetition. I often wish that IV wasn't
quite so
> > restrictive, (ie. BOM's).
> >
> > EdT
> >
> >
> >
> >
> > "Kent Keller" wrote in message
> > news:3262B4B6C3E73734557A58565F893209@in.WebX.maYIadrTaRb...
> > > Hi Ed
> > >
> > > I am not sure I follow how you would make a c' sink before a cut.
It
> > seems like you
> > > should be able to make the cut and then find the edge loop and use it
for
> > the C'sink. We
> > > are allowed to post up to 200K png, jpg or gifs here now.
> > >
> > > I am making a app where you insert a bolt, then start my program.
> > Select the edge of
> > > the bolt and then a hole, It will allow the normal settings ...offset
and
> > flip of the
> > > insert constraint, then when you are happy you can start selecting
other
> > holes and it will
> > > instance a copy of the bolt, and insert it. That much is done. I
> > also want to be
> > > able to select a face (and maybe eventually) even a part and have the
bolt
> > be put in all
> > > holes like the seed hole. Right now I have the face so it puts bolts
in
> > all holes (also
> > > unfortunately extrusions) with the same diameter of loop on the face.
But
> > it currently
> > > doesn't take into account whether the hole is a Countersunk or
> > counterbore or extruded.
> > > That is why I needed to get back to the feature from the edgeloop.
> > >
> > > Now that I have figured out how to do that, I need to decide on how
strict
> > of rules I am
> > > going to make in comparing the seed hole to the rest of the holes. ie
is
> > hole type
> > > (c'sink, c'bore, drilled) and hole dia good enough or do I need to
look at
> > all the other
> > > variables.
> > >
> > > --
> > > Kent
> > > Assistant Moderator
> > > Autodesk Discussion Forum Moderator Program
> > >
> > >
> > > "Ed Thompson" wrote in message
> > > news:F09A37676D86DCDE7691DE7F10B82FE8@in.WebX.maYIadrTaRb...
> > > > Kent,
> > > >
> > > > I worked on an app that would create slotted C'Sink holes and
Slotted
> > C'bore
> > > > holes and had a tremendous amount of problems- probably because of
> > similar
> > > > issues, (I think).
> > > >
> > > > What would happen is that the through slot operation would pick up
the
> > > > C'bore edge and there would not be a "step" in the slot. The only
way
> > that
> > > > I was able to get this to work was to form the through hole first
and
> > then
> > > > to form the C'bore step second.
> > > >
> > > > However, when it came to a slotted C'sink I could not get it to
work.
> > Again
> > > > if the through slot was not formed first, the C'sink edge would get
> > "picked
> > > > up" creating a wide slot where there was no material left for the
> > chamfer.
> > > > The problem that I still have is that when the through slot is
formed
> > and
> > > > the chamfer is added, both the outside of the C'slot is "picked up"
and
> > the
> > > > through slot is "picked up" so that the result is a little V trough
> > around
> > > > the edge of the through slot. Hey, it would be great for an O-ring
or
> > > > something. (I can send a picture if you would like).
> > > >
> > > > Are what you are attempting to do similar to what I am?
> > > >
> > > > EdT
> > > >
> > >
> > >
> >
> >
>
>