I have a child rule that provides the sketch for an Assembly Extrude Feature. How do I keep this entity from showing up in the BOM?
Solved! Go to Solution.
Solved by tmckeand. Go to Solution.
You might try,
isRef? = True
isRef? didn't work
Here some sample code
Child DoorAssy1 As (If door1? Then :DoorAssy Else :NullDesign)
DefaultBOMStructure = :Phantom
doorHeight = Me.door1Height
doorWidth = Me.door1Width
fourSided? = Me.fourSided1?
doorNum = 1
End Child
Child doorAssy1BottomMate As (If door1? Then :IvMateConstraint Else :NullDesign)
part1 = DoorAssy1.bottomEmbed_1.plate141018
entity1 = "BottomFace"
part2 = BOTTOM
solution = :mate
offset = 0.0
showInModelBrowser? = ShowConstraints?
End Child
Child doorAssy1GroundMate As (If door1? Then :IvMateConstraint Else :NullDesign)
part1 = DoorAssy1.bottomEmbed_1.plate141018
entity1 = "GroundFace"
part2 = Ground
solution = :mate
offset = 0.0
showInModelBrowser? = ShowConstraints?
End Child
Child doorAssy1LeftMate As (If door1? Then :IvMateConstraint Else :NullDesign)
part1 = DoorAssy1.doorFrame
entity1 = "LeftFace"
part2 = Left
solution = :flush
offset = -door1Placement
showInModelBrowser? = ShowConstraints?
End Child
Child Door1Cutout As (If door1? Then :DoorCutout Else :NullDesign)
Width = door1Width
Height = door1Height
End Child
Child door1CutoutLeftMate As (If door1? Then :IvMateConstraint Else :NullDesign)
part1 = Door1Cutout
entity1 = "SketchLine1"
part2 = DoorAssy1.doorFrame
entity2 = "LeftFace"
solution = :mate
offset = -2.0
showInModelBrowser? = ShowConstraints?
End Child
Child door1CutoutBottomMate As (If door1? Then :IvMateConstraint Else :NullDesign)
part1 = Door1Cutout
entity1 = "SketchLine2"
part2 = DoorAssy1.doorFrame
entity2 = "LeftBottomFace"
solution = :mate
offset = 2.0
showInModelBrowser? = ShowConstraints?
End Child
Child Door1Opening As (If door1? Then :IvAssemblyExtrudeFeature Else :NullDesign)
sketchPart = Door1Cutout
sketchName = "DoorSketch"
extentDirection = :Positive
distance = wallThck
participants = participantList
End Child
Where did you try placing isRef? = True
It should go on the Child "Door1Cutout"
Alternatively, you could specify the default bom structure on the factory file as reference.
Not sure if this will do the trick or not, but: there's a "bomStructure" parameter. Supply a value of :Reference.
You would probably embed this as a non-Parameter rule in your DoorCutout design, as opposed to supplying it as a Parameter in this assembly.
I got this working!
I moved the sketchpart for the doorCutout to the DoorAssy design, for which DefaultBOMStructure is set to :Phantom in the wall design, and added the bomStructure = :Reference parameter to the doorCutout child.
Thanks to everyone for helping me run this down.