Arx, Blocks, & Attributes

Arx, Blocks, & Attributes

Anonymous
Not applicable
264 Views
1 Reply
Message 1 of 2

Arx, Blocks, & Attributes

Anonymous
Not applicable
Howdy all. I'm new to Arx, but I have some experience with Autocad. The
goal: I want to create a set of blocks/objects that have an associated
attribute/property (preferably a property - for ease of editability in
property editor). This property would display in a standard horizontal
position of the block/object - regardless of block orientation. And, as
this property changes, a square or circle of varying size will be drawn
surrounding the block. Some examples:

Base block - 1' square
New Property = 15
Result - 1' square is drawn (standard block) with a 20' square drawn around
the block. "15" appears inside the 1' square, and remains horizontal
regardless of square rotation.

New Property = 30
Result - 1' square is drawn with a 30' square drawn around the block. "30"
appears inside the 1' square, and remains horizontal regardless of square
rotation.

Can someone either give me a head start or point me in the right direction?

Thanx.

Daniel

P.S. Sorry for the spamming - don't know which group is most appropriate for
this one.
0 Likes
265 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Daniel,

As I can see you would like to implement some particular features and
behavior. Due this, if nothing points opposite, the best solution is to
create a custom entity.

Well, this can be very painful or very simple. It totally depends on what
are the functionality, interface and flexibility you would like to provide
your users. The good approach is to limit your entity behavior as much as
your application needs and avoid unnecessary features.

To expose your custom entity's properties on Property Manager you will need
to implement some additional features (all described on ARX SDK).

Remember that once your entity is a custom object the user must have access
to your application or to an "Object Enabler" of it.

Regards,
Fernando.

"Daniel Miller" wrote in message
news:Xns916BC0336660AMeAndMeAloneWithNoOn@64.124.46.110...
> Howdy all. I'm new to Arx, but I have some experience with Autocad. The
> goal: I want to create a set of blocks/objects that have an associated
> attribute/property (preferably a property - for ease of editability in
> property editor). This property would display in a standard horizontal
> position of the block/object - regardless of block orientation. And, as
> this property changes, a square or circle of varying size will be drawn
> surrounding the block. Some examples:
>
> Base block - 1' square
> New Property = 15
> Result - 1' square is drawn (standard block) with a 20' square drawn
around
> the block. "15" appears inside the 1' square, and remains horizontal
> regardless of square rotation.
>
> New Property = 30
> Result - 1' square is drawn with a 30' square drawn around the block.
"30"
> appears inside the 1' square, and remains horizontal regardless of square
> rotation.
>
> Can someone either give me a head start or point me in the right
direction?
>
> Thanx.
>
> Daniel
>
> P.S. Sorry for the spamming - don't know which group is most appropriate
for
> this one.
0 Likes