Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Getting the error "Error: bad argument type: stringp nil" When trying to insert

Anonymous

Getting the error "Error: bad argument type: stringp nil" When trying to insert

Anonymous
No aplicable

Hey guys, I'm working on an assignment for school but whenever I try to insert a relay coil as part of a ladder I get the error "Error: bad argument type: stringp nil" and it won't open the insert/edit component window so that I can access the parent/child commands. Any help?

0 Me gusta
Responder
Soluciones aceptadas (1)
2.761 Vistas
4 Respuestas
Respuestas (4)

pendean
Community Legend
Community Legend
What method are you using to "insert" this item?
0 Me gusta

Emmsleys
Alumni
Alumni

Hello @Anonymous


Welcome to the Autodesk Community!

Can your post drawings? 

What AutoCAD release are you using? 

Can you elaborate more on your workflow? 

 

Thanks.



Sarah Emmsley
Technical Support Specialist

0 Me gusta

Emmsleys
Alumni
Alumni

@Anonymous 

 

Just following up on your post, were you able to try any of the suggestion made here? 

 

Please post back in the thread if you are still having an issue with AutoCAD I'm sure the community will be more than happy to help.

Have a good weekend. 



Sarah Emmsley
Technical Support Specialist

0 Me gusta

Emmsleys
Alumni
Alumni
Solución aceptada

To add to this thread; 

 

If you are running a lisp for this method of inserting a relay coil there was a slightly similar issue that was posted in the lisp forums, you can check it out here

 

If you are still running into the issue I would do the following; 

 

  • Clean up all files having this issue 

1. Run RECOVERALL, at the command line and select drawing, save drawing and close.
2. Run RECOVER, at the command line and select drawing.
3. (-)PURGE > Regapps > Enter>No
4. (-)PURGE>ALL> Enter>No
5. AUDIT> Yes
6. PURGE > Select Purge nested items> Select Automatically purge orphaned data > Purge All
7. (-)SCALESEDIT
8. CTRL+A > OVERKILL (Warning: use this command with caution, running the command modifies your geometry by deleting objects you may need. Save a copy of the original file in case of any unwanted changes. ) 

 

  • Make sure all lisp routines and paths are correct 

 



Sarah Emmsley
Technical Support Specialist

0 Me gusta