c:wd_inplc_nd

c:wd_inplc_nd

Anonymous
Not applicable
589 Views
5 Replies
Message 1 of 6

c:wd_inplc_nd

Anonymous
Not applicable

Hi,

when I Open *.dwg file from my project and use this command
(c:wd_inplc_nd (list 150.0 255.0 0.0) "2" "A2" nil nil 1 99 nil "V" (c:wd_find_sel_plc "1771-IAD") (list "" "aaa" "bbb" ))

in comandline, something is wrong. You can see the result in the picture (left PLC). When I use the command again everything is OK (right PLC).

This behavior is repeated every time when I close and open the drawing (new or the same one).
First wd_inplc_nd on the new open dwg file always return bad result.


All PLC in the database are drawn with the same error.

Can anyone replicate this error?

Does anyone know how to fix it?

 

Regards

Lukas

 

Software: AutoCAD Electrical 2015, version 12.0.55.0

 

Insert PLC.jpg

0 Likes
590 Views
5 Replies
Replies (5)
Message 2 of 6

Kent1Cooper
Consultant
Consultant

It's impossible to say without seeing the code that defines wd_inplc_nd, and possibly also wd_find_sel_plc.

Kent Cooper, AIA
0 Likes
Message 3 of 6

hmsilva
Mentor
Mentor

@Anonymous wrote:

Hi,

when I Open *.dwg file from my project and use this command
(c:wd_inplc_nd (list 150.0 255.0 0.0) "2" "A2" nil nil 1 99 nil "V" (c:wd_find_sel_plc "1771-IAD") (list "" "aaa" "bbb" ))

in comandline, something is wrong. You can see the result in the picture (left PLC). When I use the command again everything is OK (right PLC).

This behavior is repeated every time when I close and open the drawing (new or the same one).
First wd_inplc_nd on the new open dwg file always return bad result.


All PLC in the database are drawn with the same error.

Can anyone replicate this error?

Does anyone know how to fix it?

 

Regards

Lukas

 

Software: AutoCAD Electrical 2015, version 12.0.55.0

 

 


Hello Lucas and welcome to the Autodesk Community!
Unfortunately, few of us know the Electrical API, probably It will be easier to get some help at the AutoCAD Electrical General Discussion forum
Henrique

 

EESignature

0 Likes
Message 4 of 6

Anonymous
Not applicable
wd_inplc_nd and wd_find_sel_plc are LISP function from AutoCAD Electrical API
Lukas
0 Likes
Message 5 of 6

Anonymous
Not applicable

Thank your for your advice. I send this post on the recommended forum. 

0 Likes
Message 6 of 6

hmsilva
Mentor
Mentor

@Anonymous wrote:

Thank your for your advice. I send this post on the recommended forum. 


You're welcome, Lucas!
Sorry, but I can not be much help, formerly, I've had access to the ACE API help files, but currently I dont have, so I can not assist... 😞

Henrique

EESignature

0 Likes