Message 1 of 1
multiple pre-selected type rivets inserted & constrained to user selected circular edges
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want a little help writing a rule that in assembly environment lets user choose from a predefined list the wanted rivet type and then by clicking on circular edges on any part of the assembly, to place at any one of these edges the rivets constrained.
My problem is that i cannot get either brepPart1 (consider as Part1 the preselected by list rivet) definition,
AddMateConstraint(brepPart1, brepPart2, 0)
as the AddMateConstrain function demands on the above example
or the EdgeName
Constraints.AddMate("Mate:2", "BRNt M4X10,2 (RH-SL) OpEnd:1",
"Edge0",
PartName,
EdgeName,
e1InferredType := InferredTypeEnum.kInferredPoint,
e2InferredType := InferredTypeEnum.kNoInference)
as the Constraints.AddMate demands
Any help will be meaningful