Inventor Customization

Inventor Customization

Reply
Mentor
164 Posts
8 Kudos
Registered: ‎11-30-2007
Post 1 of 3

create rule by one e.rule OR fix external rule problem

282 Views, 2 Replies
11-06-2012 03:34 AM

Good morning all!

 

Still with my code to create notes, I'm just adding some sttufs on it to get the things easier to use, I'm with so many ideas, but my knowledge is too poor to make them :smileyhappy:

 

FIRST DOUBT:

I create a code to create the notes I need, that interact with many parameters in the drawing and with one Global Form.

When the rule in inside the drawing and I open this GLobal Form, when i click in the button APPLY all the changes I've made are applied to the parameters and then the notes are created.

But, the right here would be use this code as an External Rule...but, when i use the form with just the external rule added to the IDW, when i click on APPLY nothing happens!   How could i make this connection with the form and the external rule ??

 

SECOND DOUBT (if the first doesn't work):

If the first idea do not work, the solution I've found is: Int the global form I already have one tab to update those IDW that doesnt have the necessary parameters, with one button linked to one external rule creating them. I could then put one other button link to one other external rule that creates a internal rule in the IDW.

I just need to know now, if that is even posible... Create a RULEdirect by one EXTERNAL RULE.. Is that posible ??

 

Thanks very much, again!

 

Túlio Barata

IV 2013
ADN Support Specialist
1,352 Posts
81 Kudos
Registered: ‎06-12-2011
Post 2 of 3

Re: create rule by one e.rule OR fix external rule problem

11-28-2012 11:12 PM in reply to: tuliobarata

Hi,

 

I believe if you have had provided a small demo, the issues may have been addressed or solved by the peers here :smileyhappy: So could you isolate and attach a small sample of the rule you are using? In addition, if this occurs for specific files, please also share a copy.



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Mentor
164 Posts
8 Kudos
Registered: ‎11-30-2007
Post 3 of 3

Re: create rule by one e.rule OR fix external rule problem

01-28-2013 09:04 AM in reply to: xiaodong.liang

2 months later, sry about the this long time.

But, i solveed this problem creating all my notes directly from a external rule, I changed the code with tome tips from here and now thats working.

 

Thanks !

 

Túlio Barata

IV 2013
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!