#1
|
|||
|
|||
Macro for ISO Tol and V18
I have found a macro that adds +/- tolerances on dimensions, based on ISO Tables.
The macro is actually made by two lisps that work joined: the first ones contains the code itself, and the second one contains the ISO tables. The macro work well with V16, while it does not work with V18: Code:
Errore LISP: The function AUTONATIONAL::AM_DIM_ADD_FIXTEXT is undefined |
#2
|
|||
|
|||
Re: Macro for ISO Tol and V18
the command :
AM_DIM_ADD_FIXTEXT Obsolete. Replaced with : AM_DIM_PROPS those who know the syntax of the new command? |
#3
|
||||
|
||||
Re: Macro for ISO Tol and V18
Just run the recorder while you execute the command to learn about the parameters ;-) (See http://www.clausbrod.de/CoCreateModeling/MacroModelClipping for some hints.)
Also, the discussion at http://forum.cad.de/foren/ubb/Forum92/HTML/000809.shtml revolves around issues related to a piece of code which happens to use am_dim_props, so you may be able to glimpse some hints from there as well.
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/ |
#4
|
|||
|
|||
Re: Macro for ISO Tol and V18
Quote:
Quote:
Code:
;; encoding: UTF-8 ;%RECORDING-BEGIN at 12:16:18 02/06/2016 ;%SD-VERSION: Creo Elements/Direct Modeling 18.1 (x64 edition) (18.1.6.32) ;! Nota: i contenuti di questo file potrebbero non essere pił supportati nelle prossime versioni di Creo Elements/Direct Modeling. preselect ( docu::DOCU-PROCESS-DIRECT-PICK 27.6989751947994 242.850399471781 ) (gpntdocu 27.698975194799399 242.850399471781 "Annotation") ( docu::DOCU-PROCESS-BUTTON-2-3 'Button3 ) (frame2::set-record-status :suspend) set_pers_context "Toolbar-relative" am_dim_props :page :tolerance (get-matching-preselected-objects) :display_ui :dim_list :page :tolerance :TOL_TYPE :UPPER_LOWER :tol_upper 0.050000000000000003 :tol_lower 0.01 cancel preselect ;%RECORDING-END at 12:16:34 02/06/2016 |
#5
|
||||
|
||||
Re: Macro for ISO Tol and V18
In recent versions of Creo Elements/Direct Modeling, when you enter AM_DIM_ADD_FIXTEXT after activating Annotation, you get "AM_DIM_ADD_FIXTEST is unbound". Entering AM_DIM_PROPS, however, works as expected.
So apparently, AM_DIM_ADD_FIXTEXT simply does not exist anymore in recent versions. Hence, in this case they really meant what they said when documenting AM_DIM_ADD_FIXTEST as obsolete in documentation ;-)
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/ |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|