Search found 4 matches
- Thu Jul 02, 2020 6:52 am
- Forum: General Issues
- Topic: Copy objects
- Replies: 2
- Views: 4321
Re: Copy objects
Hi Anna As per selection have a look at Selection topic in help and Pick sample. There are ways to get a list of IEntity_DG for the selected entities. Once you have that, use IEntity_DG.Clone() to get a copy. Set its new location/orientation via IEntity_DG.GetLocation(), IFrame.SetOrigin() etc. Thes...
- Fri May 22, 2020 3:21 am
- Forum: General Issues
- Topic: Display a set of faces
- Replies: 2
- Views: 4546
Re: Display a set of faces
I think you can display it as a compound with faces as shapes.
Add a new compound to the model and use
IBRepCompound_DG.AddShape()
to add each face:
Add a new compound to the model and use
IBRepCompound_DG.AddShape()
to add each face:
Code: Select all
myCompound.AddShape(face as IBRepShape_DG);
- Fri Jul 26, 2013 9:36 am
- Forum: General Issues
- Topic: Constraints for all objects
- Replies: 2
- Views: 12042
Re: Constraints for all objects
Thank you very much. I got it working
Grassimo
Grassimo
- Fri Jul 26, 2013 8:41 am
- Forum: General Issues
- Topic: Constraints for all objects
- Replies: 2
- Views: 12042
Constraints for all objects
Hi I decided to test a model with several objects (Light.glm) in C# Modal view sample. It loaded adequately and with the "Modify" mode (rbModify) checked: 1- If "Highlight Current Object" (checkHighLight) is checked, clicking an object make it highlighted, as expected. 2- If "Enable Constraint" (che...