Notifications
Clear all

[Closed] ShowProperties function

should it return false ? What does it return for you ?

7 Replies

Hey claude,
If it doesn’t have any properties or its an interface then yes. What are you trying to find information on? Does showmethods or showinterfaces yield anything?

showproperties $
  .height : float
  .length : float
  .lengthsegs : integer
  .width : float
  .widthsegs : integer
  .mapcoords : boolean
  .heightsegs : integer
  .realWorldMapSize : boolean
false

result on a standard box

That must be what it always returns, as show is there for info, not as a confirmation that a property or properties exist. If you need to verify as part of a script then maybe getpropnames, isproperty or getproperty is what you need?

it’s not particularly important, but I was querying it as the mxs help suggests it should return OK.

1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

yep… all the time the function returns FALSE in any case. Which doesn’t make any sense for me. So let’s think that the denial is its nature

coolio, i was a little concerned as I’ve been extending mxs the sdk publishing wotnots and thought i might have broken something.

1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

don’t worry. it’s very hard to break broken.