thanks, it works for commands, but I can't find the right syntax for functions
i used a workaround, where i defined a command that just calls the function i need
in 2014, for the Case ObjectId,
this line is givng a run time error (unsupported type in command() method )"
resbuf.Add(New TypedValue(CInt(LispDataType.ObjectId), id)
Not sure if this case ever woked in previous versions. This is a for a new routine for civil 3d featurelines
Tony Tanzillo shared a wrapper for the undocumented runCommand() method which is safer the P/Invoking acedCmd.
Have a look here.
so actually my problem was that I was sending a 3d point object to the _aeccbreakfeatureline command, which expects a station, so it nothing to do with the code in question.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.