- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
I am trying to implement some automation into placing din rails into our drawings. I am trying to use the API command "ace_ins_dinrail" (API help reference listed below). The problem I am encountering is the command doesn't seem to insert the correct din rail. It will always insert the most recent placed din rail, or if no din rail has been place yet, the din rail at the top of the list will be inserted. This remains unchanged no matter what manufacturer/part number are given as parameters. I am using AE2013, so if this is a problem related to AE2013 and fixed in AE2019, we are switching soon so you can disregard my issue. An example of the problem is given below.
ace_ins_dinrail API documentation:
Locations/length/orientation of din rail always work, it is simply the incorrect MFG/part. Example of the issue:
(Open new drawing)
(c:ace_ins_dinrail "PANDUIT" "G2X3WH6" "" (list (list 0 0 0) 10 "H" 1.0 3)) --> inserts din rail AB 199-DR1
(Manually place din rail PANDUIT G2X3WH6 using GUI commands)
(c:ace_ins_dinrail "PANDUIT" "G2X3WH6" "" (list (list 0 0 0) 10 "H" 1.0 3)) --> inserts wire way PANUIT G2X3WH6 correctly
(c:ace_ins_dinrail "AB" "199-DR1" "" (list (list 0 0 0) 10 "H" 1.0 1)) --> inserts wire way PANUIT G2X3WH6 as well
(Manually place din rail AB 199-DR1 using GUI commands)
(c:ace_ins_dinrail "PANDUIT" "G2X3WH6" "" (list (list 0 0 0) 10 "H" 1.0 3)) --> inserts din rail AB 199-DR1
(c:ace_ins_dinrail "AB" "199-DR1" "" (list (list 0 0 0) 10 "H" 1.0 1)) --> inserts din rail AB 199-DR1 as well
Solved! Go to Solution.
