CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 09-07-2012, 11:28 AM
Joe Joe is offline
Registered User
 
Join Date: Jul 2012
Posts: 2
Red face Drawing attributes

I need to query an attribute I created in the DRAWING_2D class. Then use the string returned to populate a text reference. I've gotten through creating the text reference. I need help with polling the attribute value so I can use it in an if statement. I have very little experience with customization. Others in my organization have had success getting an attribute from a 3d view using (oli::sd-inq-item-attribute). Is there a way to use this command or a different command that would accomplish my goal.

I'm new to this, so feel free to call me out if I'm way off base.
Reply With Quote
  #2  
Old 09-11-2012, 01:36 PM
gmatelich's Avatar
gmatelich gmatelich is offline
Registered User
 
Join Date: Oct 2002
Location: Bellevue, WA, USA
Posts: 396
Re: Drawing attributes

Are you talking about passing an attribute from DrawingManager to Drafting, then doing something with that attribute inside of Drafting?
Reply With Quote
  #3  
Old 09-17-2012, 07:23 AM
Joe Joe is offline
Registered User
 
Join Date: Jul 2012
Posts: 2
Re: Drawing attributes

Ultimately, the plan is to use a Drawing attribute from ModelManager to populate a text reference in Annotation. I'm not sure if Annotation is the same as Drafting. The thing I need to figure out is how to query a Drawing attribute (attribute in DRAWING_2D class).
Reply With Quote
  #4  
Old 09-20-2012, 12:20 AM
Stanleys Stanleys is offline
Banned
 
Join Date: Sep 2012
Posts: 2
Re: Drawing attributes

If the attribute is the base point of the block, try this: -attedit.
Select the block,click enter, select the attribute and follow the instructions untill you see ‘Position’. At this point you can drag the attribute where ever you want..
Goog luck,
Stanleys!
Reply With Quote
Reply

Tags
annotation, attribute, text reference


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 03:18 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.