Advance Steel Forum
Welcome to Autodesk’s Advance Steel Forums. Share your knowledge, ask questions, and explore popular Advance Steel topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

advance steel objects and lisp

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
steve
275 Views, 4 Replies

advance steel objects and lisp

steve
Participant
Participant

many moons ago, (decades, truth be told, been doing this for 30 years now)  I wrote lisp routines to manage title blocks, editing attribute values using entget, subst, cons, assoc and entmod commands

searching entity association lists for tags and modifying them.

 

Can I use a similar method to change the revision mark check box for ASTXDETAILTEXT that i select? if so what pair am I searching for in the entity list?

0 Likes

advance steel objects and lisp

many moons ago, (decades, truth be told, been doing this for 30 years now)  I wrote lisp routines to manage title blocks, editing attribute values using entget, subst, cons, assoc and entmod commands

searching entity association lists for tags and modifying them.

 

Can I use a similar method to change the revision mark check box for ASTXDETAILTEXT that i select? if so what pair am I searching for in the entity list?

4 REPLIES 4
Message 2 of 5
Chris_GILMERRTXWM
in reply to: steve

Chris_GILMERRTXWM
Participant
Participant
Accepted solution

I am sure you are aware of:
Command:  (entget (car (entsel)))
to see the parent assoc list of a selected entity.  If none of the values seem to apply, then most likely what you are looking for is not exposed via LISP and the AS API will be the way to dig a little deeper.  That is where I am now...  trying to determine if I can do this with VS Code.

I am sure you are aware of:
Command:  (entget (car (entsel)))
to see the parent assoc list of a selected entity.  If none of the values seem to apply, then most likely what you are looking for is not exposed via LISP and the AS API will be the way to dig a little deeper.  That is where I am now...  trying to determine if I can do this with VS Code.

Message 3 of 5
steve
in reply to: steve

steve
Participant
Participant

thanks for the reply, looks like I will have to put it in the 'too hard' basket. the assoc list is very short, looks like the variables i want to edit are not exposed to LISP. and i don't even know what an API is.

0 Likes

thanks for the reply, looks like I will have to put it in the 'too hard' basket. the assoc list is very short, looks like the variables i want to edit are not exposed to LISP. and i don't even know what an API is.

Message 4 of 5
Chris_GILMERRTXWM
in reply to: steve

Chris_GILMERRTXWM
Participant
Participant
Accepted solution

API = Application Programming Interface.
For Advance Steel it would be Visual Studio [maybe VS Code, not sure yet], C#, the AS Software Development Kit [SDK, I think that is part of the install], and lots of patience.  I am starting to see that there is not much documentation to be found down this rabbit hole.

best of luck,
Chris

API = Application Programming Interface.
For Advance Steel it would be Visual Studio [maybe VS Code, not sure yet], C#, the AS Software Development Kit [SDK, I think that is part of the install], and lots of patience.  I am starting to see that there is not much documentation to be found down this rabbit hole.

best of luck,
Chris

Message 5 of 5
Lewk_SGS
in reply to: steve

Lewk_SGS
Enthusiast
Enthusiast
Accepted solution

There's really not much you can do with the API that you can't just simply do in Advance Steel itself. And the API isn't a REST API that returns JSON and is easily human readable.

As for LISP programs, you should be able to make them work in the Tools tab under "Applications" (by default it's on the far right side). Pretty sure that Load Application hasn't changed much since 2008.

Lewk_PSB is an old account that is owned by a company I no longer work for.

If this reply answers your question, please "Accept as Solution" - Thanks!
0 Likes

There's really not much you can do with the API that you can't just simply do in Advance Steel itself. And the API isn't a REST API that returns JSON and is easily human readable.

As for LISP programs, you should be able to make them work in the Tools tab under "Applications" (by default it's on the far right side). Pretty sure that Load Application hasn't changed much since 2008.

Lewk_PSB is an old account that is owned by a company I no longer work for.

If this reply answers your question, please "Accept as Solution" - Thanks!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report