Action:
|
Return the coedge that caused a particular error.
|
|
Filename:
|
intr/intr_scm/tmchk_typ.cxx
|
|
Syntax:
|
(tm-chk-info:coedge tm-check)
|
|
Arg Types:
|
tm-check
|
tm-chk-info
|
|
Returns:
|
entity | boolean
|
|
Description:
|
Returns the coedge recorded within the
tm-chk-info that was the cause of the reported error, or
#f if no edge is recorded.
|
|
|
tm-check is an object of type
tm-chk-info that contains tolerant modeling check details.
|
|
Example:
|
; tm-chk-info:coedge
|
|
; Print out the coedge where an error occurs.
|
|
(define b (solid:block (position 0 0 0)
|
|
|
(position 10 10 10)))
|
|
;; b
|
|
(define errors (tm-check:all (car (entity:edges b))))
|
|
;; errors
|
|
(tm-chk-info:coedge (car errors))
|
|
;; #f
|