AutoCad - Exception breaking an object ACAD2018

 
Vista:

Exception breaking an object ACAD2018

Publicado por Miguel (3 intervenciones) el 25/08/2017 14:29:18
Hola,

Con la migracion a ACAD2018 he tenido que dejar de usar las funciones acedCmd (ahora se usan las acedCmdS) pero tengo un problema al intentar usar el commando break

1
2
3
4
5
6
7
8
struct resbuf* pCommand = acutBuildList(
	RTSTR,       L"_.BREAK",
	RTENAME, NameSegment,
	    RTPOINT,   PointBreakNode,
	    RTNONE);
ALLOW_NEXT_COMMAND;
 
acedCmdS(pCommand);

El error que sale al intentar ejecutarlo es el siguiente:

Unhandled exception at 0x000007FEDBCD8C53 (acge22.dll) in acad.exe: 0xC0000005: Access violation reading location 0x0000000000000009.

If there is a handler for this exception, the program may be safely continued.

Si tenéis idea de qué puede estar pasando os lo agradecería. Porque usando otros commandos como MOVE no tengo ningún problema.

Gracias
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder