Submitted by vermin on Fri, 02/24/2023 - 05:13
Forums:
Hello,
I want to create script for automatic generate CAM paths for electrode (suitable with template creating by myself).
I have an issue with Cutlevels. I need to remove last 3 depths but I don't know how many members is in Range. For example in zLevel operation. Depend of type of electrode, number of members is variable.
How to ask about it?
Dim isupdated As Boolean
isupdated = cavityMillingBuilder.CutLevel.InitializeData()
cavityMillingBuilder.CutLevel.RangeType = NXOpen.CAM.CutLevel.RangeTypes.Automatic
cavityMillingBuilder.CutLevel.DeleteRange(6)
cavityMillingBuilder.CutLevel.DeleteRange(5)
cavityMillingBuilder.CutLevel.DeleteRange(4)
Regards
re: cut levels
Unfortunately, I rarely work with CAM. If nobody posts an answer here, I suggest posting it to the Siemens community forum and tagging the question with "programming customization" and "manufacturing" - this way the manufacturing users and those who use the NXOpen API will see it. Hopefully it will catch the attention of someone with the right combination of skills.