Author Topic: CAMduct 2024 Change Duct-Length When Changing Override-Cut-Type  (Read 281 times)

0 Members and 1 Guest are viewing this topic.

Offline jaysomlamTopic starter

  • Senior Member
  • ****
  • Posts: 491
  • Country: us
  • Gender: Male
Our shop recently upgraded from CAMduct 2019 to 2024.  We have encountered a problem with the duct length of rectangular straight duct.  Somehow its "Finished" duct length is automatically changed to match the "Stretched out" length whenever we change its "Override Cut Type" from Decoiled-Straight to Machine-Cut.

"Finish" duct length is the length from the air-entering opening to the air-leaving opening.  "Stretched out" duct length is the finished-duct-length plus the metal accounted for two connectors.  Let say the finish-duct-length is 56.25".  Then the stretched-out-duct-length is 60.25" (to account for 2" connector allowance x 2).

Of course, we want most of the straight duct to be fabricated from our coil line machine.  Therefore, most straight duct should be decoiled-straight.  But from time to time, we need some straight duct to be machine-cut.  We can manually change that straight duct from decoiled-straight to machine-cut, or we can use a script to do this.  We do this by changing its "Override Cut Type" property to Machine-Cut.  This works fine in CAMduct 2019.  But doing the same thing in CAMduct 2024 creates a problem:  Somehow the finished duct length is changed to match the stretched-out duct length.  Let say the duct was 56.25" finished length.  After we have changed its "Override Cut Type" to Machine-Cut, we find that the duct length is automatically changed from 56.25" to 60.25".

You can see from the first picture that the 60.25" is the "STD Straight" of the size of the straight duct.

The 0.25" extra is something that we use to work around a different issue, and this is irrelevant to the error that I am talking about here.  Therefore, when I mention 56.25", you can treat it like 56".

The problem happens regardless which material or which spec the duct is.

The problem happens with 56.25" duct length or 68.25".  If the duct length is 68.25", it will be automatically changed to 72.25", and this is a problem.

Attached please also find the original script that we used to change the "Override Cut Type" in CAMduct 2019.  Unfortunately, it doesn't work in CAMduct 2024 because it has the problem mentioned above.  We have to use the second script in CAMduct 2024 to work around the problem.  Basically we have to restore the duct length after we have changed the "Override Cut Type".  The workaround works.  But we much prefer not to have this problem to begin with.

Please let me know if there is a setting in Fabrication Database that can fix the error.  Thanks.

Jaysom

Offline jaysomlamTopic starter

  • Senior Member
  • ****
  • Posts: 491
  • Country: us
  • Gender: Male
Re: CAMduct 2024 Change Duct-Length When Changing Override-Cut-Type
« Reply #1 on: Feb 21, 2025, 14:28:14 PM »
The same error also happens in CADmep 2023, 2024, and 2025.

The error doesn't happen in CADmep 2019, and 2021.

I don't have CADmep 2020 or 2022.  Therefore, I cannot tell if the error also happens in these 2 versions of CADmep.

If the problem has been here since at least 2023.  I am sure there has to be a solution to this problem.  May be the solution is in a setting in Fabrication Database?

Jaysom

Offline jaysomlamTopic starter

  • Senior Member
  • ****
  • Posts: 491
  • Country: us
  • Gender: Male
Re: CAMduct 2024 Change Duct-Length When Changing Override-Cut-Type
« Reply #2 on: Feb 21, 2025, 15:57:34 PM »
Manually changing the Cut-Type property of the straight duct doesn't trigger this error.  Only doing this through "Override Cut Type" option triggers this error.  Unfortunately trying to change the Item.CutType property through script doesn't work because this has no effect (Item.CutType is not changed).  That Item.CutType property acts like read-only in CAMduct 2019 and 2024.  That is probably the reason why my script has to change the item cut-type through its "Override Cut Type" option instead of through Item.CutType.

Jaysom