CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > Modules

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 08-10-2005, 07:01 AM
sstaabs sstaabs is offline
Registered User
 
Join Date: Feb 2005
Location: north carolina
Posts: 20
Error message in Sheet Advisor

What does it mean when you get Wrong profile function in Sheet Advisor?

sample of code:

(sha-define-shop-table "cvr_hls"
:TABLE-TITLE "Tank Cover Holes"
:COLUMNS
(:DIA :DESCR :MIN_THICK :MAX_THICK :PREFERENCE :ADVICE )
:COLUMN-NAMES
( "Dia" "Descr" "Min Thick" "Max Thick" "Pref" "Advice")
:UNITS
( :inch nil :inch :inch nil nil)
:CONTENTS
(
(.3125 " For M6 " 0 1 :PREF "-")
)
:KEY (:DIA )
:DISPLAY (:DIA :DESCR :PREFERENCE :ADVICE)
; :FLAT-TEXT ("")
:HELP "sha_rnd"
; unique, not displayable column entries
:PROF_FNC sha-cvr_hls
:BROWSER-ICON "icon_rnd_co"
:USABLE-AS-CORNER-RELIEF :DIA
)


;=================================================
;
; TANK HOLE COVER
;
;=================================================
(defun sha-cvr_hls
(&key
dia
&allow-other-keys
)
(let ((result nil)
(tool-wp (sha-tool-wp))
)
(create_workplane :new
:name tool-wp
:world_origin
)
;********* create Profile *******
(CIRCLE :CEN_DIA 0,0 dia)
;******** create Adjustpoints ******
(C_POINT
0,0
(gpnt2d -2 -.4375)
(gpnt2d 2 -.4375)
(gpnt2d -2 .4375)
(gpnt2d 2 .4375)
)
(setq result (sha-profile-of-wp tool-wp))
(sha-delete-or-show-wp)
result
)
)

Thanks,

Steve
Attached Thumbnails
Click image for larger version

Name:	wrong profile function.JPG
Views:	431
Size:	151.0 KB
ID:	518  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 09:12 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.