Open jorgebslu opened 3 years ago
Hello, I couldn't find the reason for this, I'm assigning a developer, there isn't an obvious error. You are correct, the material should no longer be mandatory for the negative volumes.
For now, if you wish, you can try using plates for these types of cuts (that's what we do in our imports from CAD software). You can create a plate, set it as NegativeObject and then use it in CutBeamByBeams:
var plateData = AddPlate(openModel, asPlate);
plateData.IsNegativeObject = true;
openModel.Connections[openModel.Connections.Count - 1].CutBeamByBeams.Add(new IdeaRS.OpenModel.Connection.CutBeamByBeamData
{
CuttingObject = new ReferenceElement(plateData),
ModifiedObject = new ReferenceElement(IOMBeam),
IsWeld = false,
Method = CutMethod.Surface,
Orientation = CutOrientation.Parallel,
PlaneOnCuttingObject = DistanceComparison.Closer,
});
Ok thanks, and I have a question concerning the material for the PlateData
used to cut the beam.
For versions 20.1 & 21.0 it seems like an empty string is fine for them and the notches are there.
But for version v20.0, empty string does not work. I have tried to set the same material name than the beam and it did not work too. Shall I do anything special for version 20.0 with your proposal?
[Edited] I also tried a new unused steel material and it also didn't work. Some Ws Service exception is freaking out and finally closing Idea Connection.
Hi, I am getting the following error messages in
Idea Connection
(fromCode Check Manager
) when importing the attached model: 03-ModelBim.zipThese cross-sections are of type
CrossSectionComponent
. I can understand that for members or connection bars they could not be supported, but for negative objects they should be possible, right ?They must be
CrossSectionComponent
because they are not rectangular and have a polygonal shape.And it is also still mandatory to define the material for these cutting cross-sections, but from https://github.com/idea-statica/iom-examples/issues/45#issuecomment-749402614 I understood that starting from version 21.0, material will not be required for these cutting cross-sections. Am I doing anything wrong?
Thank you in advance. Jorge