Thursday, February 09, 2012     Register | Login | Search | Contact Us
     

Many of you already received communications about the move of the Cadence user community into cadence.com. And many of you have already joined, with over 4000 registrations in the first two weeks.

The new Cadence Community enhances the ability of Cadence users to connect and collaborate. In addition to moving the community into cadence.com -- enabling single sign-on for community, Sourcelink and Cadence events -- the new site is organized around nine technology segments, giving you easy access to product information, training, forums and blogs. Some of the new features include:
  • Ability to respond to posts via e-mail
  • Technology-specific blogs
  • Latest Web 2.0 social networking capabilities
  • Public profile options
  • Private messaging
  • Friends lists
Visit the new Cadence Community today at www.cadence.com/community and join the discussions!

Registration note: Due to the scope of the enhancements and the new SSO registration system, we were not able to migrate existing cdnusers.org member accounts. So new registrations are required, but this enables a broader set of functionality we think you'll enjoy.

Forum note: Under the guidance of forum moderators, we have taken the 20+ cdnusers.org forums and consolidated them into 11 forums on the new site. Posts have been brought over so you can leverage that posting history. CDNusers forums will be set to read only starting 7/30, and cdnusers.org will be redirected to the new community on 8/4.

Best regards,
Mike and Tom

Michael A. Catrambone - Steering Committee Chairman
Distinguished Engineer
PCB/Mechanical
UTStarcom, Inc.

Tom Diederich
Cadence Community Manager
Home
Forums
Subject: axlDBAltOrigin
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
Lcan
Posts: 2
Online: User is Offline
7/01/2008 12:01 PM  
I am attempting to using axlDBAltOrigin to eventually extract the X and Y coordinates of a components origin which is selected by a mouse click. After looking thru example code and documentation, my attempt is still incorrect. Would someone be willing to offer a beginner advice as to what I am doing wrong? Thank you. The code: axlClearSelSet() axlSetFindFilter( ?enabled list("noall" "Components") ?onButtons list("Components") ) axlSelect( ?groupMode nil ?prompt "Please Select Component" ) sym = axlGetSelSet() axlShowObject(axlGetSelSet()) comp_origin = axlDBAltOrigin('origin sym) xcoord = car( comp_origin) ycoord = cadr( comp_origin) axlMsgPut("X location is %s", xcoord) axlMsgPut("Y location is %s", ycoord)
kerchunk
Posts: 19
Online: User is Offline
7/01/2008 2:37 PM  
the origin of a component is not stored directly with the component object but rather 'beneath' it with the associated symbol object.
-------------------------------

comp_db = nil
axlClearSelSet()
axlSetFindFilter( ?enabled (list "noall" "COMPONENTS") ?onButtons (list "COMPONENTS"))
comp_db = car( axlGetSelSet( axlSingleSelectPoint()))
axlCloseFindFilter()
axlClearSelSet()

comp_origin = comp_db->symbol->xy
xcoord = car( comp_origin)
ycoord = cadr( comp_origin)

printf("component %s -- X:%n Y:%n\n", comp_db->name xcoord ycoord)

---------------

HTH,

Chris Walters
local Cadence guru
()
Lcan
Posts: 2
Online: User is Offline
7/02/2008 6:15 AM  
This does help. My apologies for the poor formatting in the original message. Thank you for your help, it is appreciated. Bill
Posting to forums is available to community members only.
Login or Register



ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.